3.5.0-rc1
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)
 
- 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 CCPACSWingSectionGetSection (size_t index) const
 
virtual TIGL_EXPORT CCPACSWingSectionGetSection (size_t index)
 
virtual TIGL_EXPORT const CCPACSWingSectionGetSection (const std::string &UID) const
 
virtual TIGL_EXPORT CCPACSWingSectionGetSection (const std::string &UID)
 
virtual TIGL_EXPORT size_t GetSectionCount () const
 
virtual TIGL_EXPORT size_t GetSectionIndex (const std::string &UID) 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 "AddSection" function in a way that this function takes care of creating an element and tries to set all possible parameters.

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