3.4.0
tigl::CCPACSWings Class Reference

#include <CCPACSWings.h>

+ Inheritance diagram for tigl::CCPACSWings:

Public Member Functions

TIGL_EXPORT CCPACSWings (CCPACSRotorcraftModel *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSWings (CCPACSAircraftModel *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSWingCreateWing (const std::string &wingUID, int numberOfSection, const std::string &airfoilUID)
 
TIGL_EXPORT int GetRotorBladeCount () const
 
TIGL_EXPORT CCPACSWingGetWing (int index) const
 
TIGL_EXPORT CCPACSWingGetWing (const std::string &UID) const
 
TIGL_EXPORT int GetWingCount () const
 
TIGL_EXPORT int GetWingIndex (const std::string &UID) const
 
TIGL_EXPORT bool HasWing (const std::string &uid) const
 
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 
- Public Member Functions inherited from tigl::generated::CPACSWings
virtual TIGL_EXPORT CCPACSWingAddWing ()
 
TIGL_EXPORT CPACSWings (CCPACSAircraftModel *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSWings (CCPACSRotorcraftModel *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
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT const std::vector< std::unique_ptr< CCPACSWing > > & GetWings () const
 
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSWing > > & GetWings ()
 
template<typename P >
bool IsParent () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void RemoveWing (CCPACSWing &ref)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSWings ()
 

Additional Inherited Members

- Protected Attributes inherited from tigl::generated::CPACSWings
void * m_parent
 
const std::type_info * m_parentType
 
CTiglUIDManagerm_uidMgr
 
std::vector< std::unique_ptr< CCPACSWing > > m_wings
 

Constructor & Destructor Documentation

◆ CCPACSWings() [1/2]

TIGL_EXPORT tigl::CCPACSWings::CCPACSWings ( CCPACSRotorcraftModel parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSWings() [2/2]

TIGL_EXPORT tigl::CCPACSWings::CCPACSWings ( CCPACSAircraftModel parent,
CTiglUIDManager uidMgr 
)

Member Function Documentation

◆ CreateWing()

TIGL_EXPORT CCPACSWing& tigl::CCPACSWings::CreateWing ( const std::string &  wingUID,
int  numberOfSection,
const std::string &  airfoilUID 
)

Create a new wing with sections and segments.

Parameters
fuselageUID
numberOfSection
profileUID
Returns

◆ GetRotorBladeCount()

TIGL_EXPORT int tigl::CCPACSWings::GetRotorBladeCount ( ) const

◆ GetWing() [1/2]

TIGL_EXPORT CCPACSWing& tigl::CCPACSWings::GetWing ( int  index) const

◆ GetWing() [2/2]

TIGL_EXPORT CCPACSWing& tigl::CCPACSWings::GetWing ( const std::string &  UID) const

◆ GetWingCount()

TIGL_EXPORT int tigl::CCPACSWings::GetWingCount ( ) const

◆ GetWingIndex()

TIGL_EXPORT int tigl::CCPACSWings::GetWingIndex ( const std::string &  UID) const

◆ HasWing()

TIGL_EXPORT bool tigl::CCPACSWings::HasWing ( const std::string &  uid) const

◆ Invalidate()

TIGL_EXPORT void tigl::CCPACSWings::Invalidate ( const boost::optional< std::string > &  source = boost::none) const

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