3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CCPACSWingSegments Class Reference

#include <CCPACSWingSegments.h>

Inheritance diagram for tigl::CCPACSWingSegments:

Public Member Functions

TIGL_EXPORT CCPACSWingSegmentAddSegment () override
TIGL_EXPORT CCPACSWingSegments (CCPACSEnginePylon *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSWingSegments (CCPACSWing *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT std::vector< std::string > GetElementUIDsInOrder () const
const CTiglRelativelyPositionedComponentGetParentComponent () const
TIGL_EXPORT CCPACSWingSegmentGetSegmentFromTo (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 CCPACSWingSegmentSplitSegment (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 CTiglUIDObjectGetNextUIDParent ()
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
template<typename P>
P * GetParent ()
template<typename P>
const P * GetParent () const
virtual TIGL_EXPORT CCPACSWingSegmentGetSegment (const std::string &UID)
virtual TIGL_EXPORT const CCPACSWingSegmentGetSegment (const std::string &UID) const
virtual TIGL_EXPORT CCPACSWingSegmentGetSegment (size_t index)
virtual TIGL_EXPORT const CCPACSWingSegmentGetSegment (size_t index) const
virtual TIGL_EXPORT size_t GetSegmentCount () const
virtual TIGL_EXPORT size_t GetSegmentIndex (const std::string &UID) const
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSWingSegment > > & GetSegments ()
virtual TIGL_EXPORT const std::vector< std::unique_ptr< CCPACSWingSegment > > & GetSegments () const
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () 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

CTiglRelativelyPositionedComponentm_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
CTiglUIDManagerm_uidMgr

Constructor & Destructor Documentation

◆ CCPACSWingSegments() [1/2]

TIGL_EXPORT tigl::CCPACSWingSegments::CCPACSWingSegments ( CCPACSWing * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSWingSegments() [2/2]

TIGL_EXPORT tigl::CCPACSWingSegments::CCPACSWingSegments ( CCPACSEnginePylon * parent,
CTiglUIDManager * uidMgr )

Member Function Documentation

◆ AddSegment()

TIGL_EXPORT CCPACSWingSegment & tigl::CCPACSWingSegments::AddSegment ( )
overridevirtual

◆ GetElementUIDsInOrder()

TIGL_EXPORT std::vector< std::string > tigl::CCPACSWingSegments::GetElementUIDsInOrder ( ) const

◆ GetParentComponent()

const CTiglRelativelyPositionedComponent * tigl::CCPACSWingSegments::GetParentComponent ( ) const
inline

◆ GetSegmentFromTo()

TIGL_EXPORT CCPACSWingSegment & tigl::CCPACSWingSegments::GetSegmentFromTo ( const std::string & fromElemUID,
const std::string toElementUID )

◆ Invalidate()

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

◆ InvalidateParent()

void tigl::CCPACSWingSegments::InvalidateParent ( ) const
private

◆ NeedReordering()

TIGL_EXPORT bool tigl::CCPACSWingSegments::NeedReordering ( ) const

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSWingSegments::ReadCPACS ( const TixiDocumentHandle & tixiHandle,
const std::string & xpath )
overridevirtual

◆ RemoveSegment()

TIGL_EXPORT void tigl::CCPACSWingSegments::RemoveSegment ( CCPACSWingSegment & ref)
overridevirtual

◆ ReorderSegments()

TIGL_EXPORT void tigl::CCPACSWingSegments::ReorderSegments ( )

◆ SplitSegment()

TIGL_EXPORT CCPACSWingSegment & tigl::CCPACSWingSegments::SplitSegment ( const std::string & segmentToSplit,
const std::string & splitterElement )

Split the segment into two segments. The split element will be used as the junction between the two segments.

Remarks
Only the segment is split and we do not care about the position of the splitter.
Parameters
segmentToSplitthe uid of the segment to split
splitterElementthe uid of the element to be used to connect the two segments
Returns
the new created segment

Field Documentation

◆ m_parentVariant

CTiglRelativelyPositionedComponent* tigl::CCPACSWingSegments::m_parentVariant
private

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