3.4.0
tigl::CTiglFuselageHelper Class Reference

#include <CTiglFuselageHelper.h>

Public Member Functions

 CTiglFuselageHelper ()
 
 CTiglFuselageHelper (CCPACSFuselage *fuselage)
 
CTiglFuselageSectionElementGetCTiglElementOfFuselage (std::string elementUID) const
 
std::vector< std::string > GetElementUIDsInOrder () const
 
std::string GetNoseUID () const
 
std::string GetTailUID () const
 
bool HasShape () const
 
void SetFuselage (CCPACSFuselage *fuselage)
 

Protected Member Functions

std::map< std::string, CTiglFuselageSectionElement * > BuildCTiglElementsMap ()
 

Private Attributes

std::map< std::string, CTiglFuselageSectionElement * > cTiglElementsMap
 
std::vector< std::string > elementUIDs
 
CCPACSFuselagefuselage
 

Detailed Description

This class help the CCPACSFuselage class. It's main goal is to keep the CCPACSFuselage class clean, such that the CPACSFuselage has its interface simple

Constructor & Destructor Documentation

◆ CTiglFuselageHelper() [1/2]

tigl::CTiglFuselageHelper::CTiglFuselageHelper ( )

◆ CTiglFuselageHelper() [2/2]

tigl::CTiglFuselageHelper::CTiglFuselageHelper ( CCPACSFuselage fuselage)

Member Function Documentation

◆ BuildCTiglElementsMap()

std::map<std::string, CTiglFuselageSectionElement*> tigl::CTiglFuselageHelper::BuildCTiglElementsMap ( )
protected

◆ GetCTiglElementOfFuselage()

CTiglFuselageSectionElement* tigl::CTiglFuselageHelper::GetCTiglElementOfFuselage ( std::string  elementUID) const

◆ GetElementUIDsInOrder()

std::vector<std::string> tigl::CTiglFuselageHelper::GetElementUIDsInOrder ( ) const
inline

Return the uid of the elements connected by some segments.

Remarks
if a element in the fuselage is not connected, then it will not appears in this list.
Returns

◆ GetNoseUID()

std::string tigl::CTiglFuselageHelper::GetNoseUID ( ) const

◆ GetTailUID()

std::string tigl::CTiglFuselageHelper::GetTailUID ( ) const

◆ HasShape()

bool tigl::CTiglFuselageHelper::HasShape ( ) const

◆ SetFuselage()

void tigl::CTiglFuselageHelper::SetFuselage ( CCPACSFuselage fuselage)

Field Documentation

◆ cTiglElementsMap

std::map<std::string, CTiglFuselageSectionElement*> tigl::CTiglFuselageHelper::cTiglElementsMap
private

◆ elementUIDs

std::vector<std::string> tigl::CTiglFuselageHelper::elementUIDs
private

◆ fuselage

CCPACSFuselage* tigl::CTiglFuselageHelper::fuselage
private

The documentation for this class was generated from the following file: