#include <CCPACSWings.h>
Public Member Functions | |
TIGL_EXPORT | CCPACSWings (CCPACSRotorcraftModel *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT | CCPACSWings (CCPACSAircraftModel *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT CCPACSWing & | CreateWing (const std::string &wingUID, int numberOfSection, const std::string &airfoilUID) |
TIGL_EXPORT int | GetRotorBladeCount () const |
TIGL_EXPORT CCPACSWing & | GetWing (int index) const |
TIGL_EXPORT CCPACSWing & | GetWing (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 CCPACSWing & | AddWing () |
TIGL_EXPORT | CPACSWings (CCPACSAircraftModel *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT | CPACSWings (CCPACSRotorcraftModel *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 |
TIGL_EXPORT CTiglUIDManager & | GetUIDManager () |
TIGL_EXPORT const CTiglUIDManager & | GetUIDManager () 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 |
CTiglUIDManager * | m_uidMgr |
std::vector< std::unique_ptr< CCPACSWing > > | m_wings |
TIGL_EXPORT tigl::CCPACSWings::CCPACSWings | ( | CCPACSRotorcraftModel * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
TIGL_EXPORT tigl::CCPACSWings::CCPACSWings | ( | CCPACSAircraftModel * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
TIGL_EXPORT CCPACSWing& tigl::CCPACSWings::CreateWing | ( | const std::string & | wingUID, |
int | numberOfSection, | ||
const std::string & | airfoilUID | ||
) |
Create a new wing with sections and segments.
fuselageUID | |
numberOfSection | |
profileUID |
TIGL_EXPORT int tigl::CCPACSWings::GetRotorBladeCount | ( | ) | const |
TIGL_EXPORT CCPACSWing& tigl::CCPACSWings::GetWing | ( | int | index | ) | const |
TIGL_EXPORT CCPACSWing& tigl::CCPACSWings::GetWing | ( | const std::string & | UID | ) | const |
TIGL_EXPORT int tigl::CCPACSWings::GetWingCount | ( | ) | const |
TIGL_EXPORT int tigl::CCPACSWings::GetWingIndex | ( | const std::string & | UID | ) | const |
TIGL_EXPORT bool tigl::CCPACSWings::HasWing | ( | const std::string & | uid | ) | const |
TIGL_EXPORT void tigl::CCPACSWings::Invalidate | ( | const boost::optional< std::string > & | source = boost::none | ) | const |