#include <CCPACSWingSegments.h>
Public Member Functions | |
TIGL_EXPORT CCPACSWingSegment & | AddSegment () override |
TIGL_EXPORT | CCPACSWingSegments (CCPACSWing *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT | CCPACSWingSegments (CCPACSEnginePylon *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT std::vector< std::string > | GetElementUIDsInOrder () const |
const CTiglRelativelyPositionedComponent * | GetParentComponent () const |
TIGL_EXPORT CCPACSWingSegment & | GetSegment (const int index) |
TIGL_EXPORT const CCPACSWingSegment & | GetSegment (const int index) const |
TIGL_EXPORT CCPACSWingSegment & | GetSegment (const std::string &segmentUID) |
TIGL_EXPORT const CCPACSWingSegment & | GetSegment (const std::string &segmentUID) const |
TIGL_EXPORT int | GetSegmentCount () const |
TIGL_EXPORT CCPACSWingSegment & | GetSegmentFromTo (const std::string &fromElemUID, const std::string toElementUID) |
TIGL_EXPORT void | Invalidate (const boost::optional< std::string > &source=boost::none) const |
TIGL_EXPORT bool | NeedReordering () const |
TIGL_EXPORT void | ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) override |
TIGL_EXPORT void | RemoveSegment (CCPACSWingSegment &ref) override |
TIGL_EXPORT void | ReorderSegments () |
TIGL_EXPORT CCPACSWingSegment & | SplitSegment (const std::string &segmentToSplit, const std::string &splitterElement) |
Public Member Functions inherited from tigl::generated::CPACSWingSegments | |
TIGL_EXPORT | CPACSWingSegments (CCPACSEnginePylon *parent, CTiglUIDManager *uidMgr) |
TIGL_EXPORT | CPACSWingSegments (CCPACSWing *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 |
virtual TIGL_EXPORT const std::vector< std::unique_ptr< CCPACSWingSegment > > & | GetSegments () const |
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSWingSegment > > & | GetSegments () |
TIGL_EXPORT CTiglUIDManager & | GetUIDManager () |
TIGL_EXPORT const CTiglUIDManager & | GetUIDManager () const |
template<typename P > | |
bool | IsParent () const |
virtual TIGL_EXPORT void | WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const |
virtual TIGL_EXPORT | ~CPACSWingSegments () |
Private Member Functions | |
void | InvalidateParent () const |
Private Attributes | |
CTiglRelativelyPositionedComponent * | m_parentVariant |
Additional Inherited Members | |
Protected Attributes inherited from tigl::generated::CPACSWingSegments | |
void * | m_parent |
const std::type_info * | m_parentType |
std::vector< std::unique_ptr< CCPACSWingSegment > > | m_segments |
CTiglUIDManager * | m_uidMgr |
TIGL_EXPORT tigl::CCPACSWingSegments::CCPACSWingSegments | ( | CCPACSWing * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
TIGL_EXPORT tigl::CCPACSWingSegments::CCPACSWingSegments | ( | CCPACSEnginePylon * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
|
overridevirtual |
Reimplemented from tigl::generated::CPACSWingSegments.
TIGL_EXPORT std::vector<std::string> tigl::CCPACSWingSegments::GetElementUIDsInOrder | ( | ) | const |
|
inline |
TIGL_EXPORT CCPACSWingSegment& tigl::CCPACSWingSegments::GetSegment | ( | const int | index | ) |
TIGL_EXPORT const CCPACSWingSegment& tigl::CCPACSWingSegments::GetSegment | ( | const int | index | ) | const |
TIGL_EXPORT CCPACSWingSegment& tigl::CCPACSWingSegments::GetSegment | ( | const std::string & | segmentUID | ) |
TIGL_EXPORT const CCPACSWingSegment& tigl::CCPACSWingSegments::GetSegment | ( | const std::string & | segmentUID | ) | const |
TIGL_EXPORT int tigl::CCPACSWingSegments::GetSegmentCount | ( | ) | const |
TIGL_EXPORT CCPACSWingSegment& tigl::CCPACSWingSegments::GetSegmentFromTo | ( | const std::string & | fromElemUID, |
const std::string | toElementUID | ||
) |
TIGL_EXPORT void tigl::CCPACSWingSegments::Invalidate | ( | const boost::optional< std::string > & | source = boost::none | ) | const |
|
private |
TIGL_EXPORT bool tigl::CCPACSWingSegments::NeedReordering | ( | ) | const |
|
overridevirtual |
Reimplemented from tigl::generated::CPACSWingSegments.
|
overridevirtual |
Reimplemented from tigl::generated::CPACSWingSegments.
TIGL_EXPORT void tigl::CCPACSWingSegments::ReorderSegments | ( | ) |
TIGL_EXPORT CCPACSWingSegment& tigl::CCPACSWingSegments::SplitSegment | ( | const std::string & | segmentToSplit, |
const std::string & | splitterElement | ||
) |
Split the segment into two segments. The splitter element will be used as the junction between the two segments.
segmentToSplit | the uid of the segment to split |
splitterElement | the uid of the element to be used to connect the two segments |
|
private |