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 CCPACSFuselageSectionCreateSection (const std::string &sectionUID, const std::string &profileUID)
 
TIGL_EXPORT CCPACSFuselageSectionGetSection (int index) const
 
TIGL_EXPORT CCPACSFuselageSectionGetSection (const std::string &sectionUID)
 
TIGL_EXPORT int GetSectionCount () const
 
- Public Member Functions inherited from tigl::generated::CPACSFuselageSections
virtual TIGL_EXPORT CCPACSFuselageSectionAddSection ()
 
TIGL_EXPORT CPACSFuselageSections (CCPACSDuct *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSFuselageSections (CCPACSFuselage *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () 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 CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () 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
 
CTiglUIDManagerm_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: