3.4.0
tigl::CCPACSWingSections Class Reference

#include <CCPACSWingSections.h>

+ Inheritance diagram for tigl::CCPACSWingSections:

Public Member Functions

TIGL_EXPORT CCPACSWingSections (CCPACSWing *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSWingSections (CCPACSEnginePylon *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSWingSectionCreateSection (const std::string &sectionUID, const std::string &profileUID)
 
TIGL_EXPORT CCPACSWingSectionGetSection (int index) const
 
TIGL_EXPORT CCPACSWingSectionGetSection (const std::string &sectionsUID)
 
TIGL_EXPORT int GetSectionCount () const
 
- Public Member Functions inherited from tigl::generated::CPACSWingSections
virtual TIGL_EXPORT CCPACSWingSectionAddSection ()
 
TIGL_EXPORT CPACSWingSections (CCPACSEnginePylon *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSWingSections (CCPACSWing *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< CCPACSWingSection > > & GetSections () const
 
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSWingSection > > & 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 (CCPACSWingSection &ref)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSWingSections ()
 

Additional Inherited Members

- Protected Attributes inherited from tigl::generated::CPACSWingSections
void * m_parent
 
const std::type_info * m_parentType
 
std::vector< std::unique_ptr< CCPACSWingSection > > m_sections
 
CTiglUIDManagerm_uidMgr
 

Constructor & Destructor Documentation

◆ CCPACSWingSections() [1/2]

TIGL_EXPORT tigl::CCPACSWingSections::CCPACSWingSections ( CCPACSWing parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSWingSections() [2/2]

TIGL_EXPORT tigl::CCPACSWingSections::CCPACSWingSections ( CCPACSEnginePylon parent,
CTiglUIDManager uidMgr 
)

Member Function Documentation

◆ CreateSection()

TIGL_EXPORT CCPACSWingSection& tigl::CCPACSWingSections::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 CCPACSWingSection& tigl::CCPACSWingSections::GetSection ( int  index) const

◆ GetSection() [2/2]

TIGL_EXPORT CCPACSWingSection& tigl::CCPACSWingSections::GetSection ( const std::string &  sectionsUID)

◆ GetSectionCount()

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

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