3.4.0
tigl::CCPACSFuselageSections Class Reference

#include <CCPACSFuselageSections.h>

+ Inheritance diagram for tigl::CCPACSFuselageSections:

Public Member Functions

TIGL_EXPORT CCPACSFuselageSections (CCPACSFuselage *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSFuselageSections (CCPACSDuct *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSFuselageSection & CreateSection (const std::string &sectionUID, const std::string &profileUID)
 
TIGL_EXPORT CCPACSFuselageSection & GetSection (int index) const
 
TIGL_EXPORT CCPACSFuselageSection & GetSection (const std::string &sectionUID)
 
TIGL_EXPORT int GetSectionCount () const
 
- Public Member Functions inherited from tigl::generated::CPACSFuselageSections
virtual TIGL_EXPORT CCPACSFuselageSection & AddSection ()
 
TIGL_EXPORT CPACSFuselageSections (CCPACSDuct *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSFuselageSections (CCPACSFuselage *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT CTiglUIDObject * GetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObject * GetNextUIDParent () const
 
template<typename P >
P * GetParent ()
 
template<typename P >
const P * GetParent () const
 
virtual TIGL_EXPORT const std::vector< std::unique_ptr< CCPACSFuselageSection > > & GetSections () const
 
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSFuselageSection > > & GetSections ()
 
TIGL_EXPORT CTiglUIDManager & GetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManager & GetUIDManager () const
 
template<typename P >
bool IsParent () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void RemoveSection (CCPACSFuselageSection &ref)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSFuselageSections ()
 

Additional Inherited Members

- Protected Attributes inherited from tigl::generated::CPACSFuselageSections
void * m_parent
 
const std::type_info * m_parentType
 
std::vector< std::unique_ptr< CCPACSFuselageSection > > m_sections
 
CTiglUIDManager * m_uidMgr
 

Constructor & Destructor Documentation

◆ CCPACSFuselageSections() [1/2]

TIGL_EXPORT tigl::CCPACSFuselageSections::CCPACSFuselageSections ( CCPACSFuselage *  parent,
CTiglUIDManager *  uidMgr 
)

◆ CCPACSFuselageSections() [2/2]

TIGL_EXPORT tigl::CCPACSFuselageSections::CCPACSFuselageSections ( CCPACSDuct *  parent,
CTiglUIDManager *  uidMgr 
)

Member Function Documentation

◆ CreateSection()

TIGL_EXPORT CCPACSFuselageSection& tigl::CCPACSFuselageSections::CreateSection ( const std::string &  sectionUID,
const std::string &  profileUID 
)

Create a new section and a new element with the given profile uid. All uids are derived from the section uid.

Remarks
This function differs form the the "AddSection" function by the fact that this function take care of creating an element and try to set all possible parameters.

◆ GetSection() [1/2]

TIGL_EXPORT CCPACSFuselageSection& tigl::CCPACSFuselageSections::GetSection ( int  index) const

◆ GetSection() [2/2]

TIGL_EXPORT CCPACSFuselageSection& tigl::CCPACSFuselageSections::GetSection ( const std::string &  sectionUID)

◆ GetSectionCount()

TIGL_EXPORT int tigl::CCPACSFuselageSections::GetSectionCount ( ) const

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