3.4.0
tigl::CCPACSConfiguration Class Reference

#include <CCPACSConfiguration.h>

Public Member Functions

TIGL_EXPORT PTiglFusePlane AircraftFusingAlgo ()
 
TIGL_EXPORT CCPACSConfiguration (TixiDocumentHandle tixiHandle)
 
TIGL_EXPORT boost::optional< CCPACSACSystems & > GetACSystems ()
 
TIGL_EXPORT boost::optional< const CCPACSACSystems & > GetACSystems () const
 
TIGL_EXPORT double GetAirplaneLength ()
 
TIGL_EXPORT std::string GetDescription () const
 
TIGL_EXPORT boost::optional< CCPACSDucts > & GetDucts ()
 
TIGL_EXPORT const boost::optional< CCPACSDucts > & GetDucts () const
 
TIGL_EXPORT CCPACSEngineGetEngine (const std::string &UID) const
 
TIGL_EXPORT boost::optional< CCPACSEnginePositions > & GetEnginePositions ()
 
TIGL_EXPORT const boost::optional< CCPACSEnginePositions > & GetEnginePositions () const
 
TIGL_EXPORT boost::optional< CCPACSEnginePylons > & GetEnginePylons ()
 
TIGL_EXPORT const boost::optional< CCPACSEnginePylons > & GetEnginePylons () const
 
TIGL_EXPORT boost::optional< CCPACSEngines > & GetEngines ()
 
TIGL_EXPORT const boost::optional< CCPACSEngines > & GetEngines () const
 
TIGL_EXPORT CCPACSExternalObjectGetExternalObject (int index) const
 
TIGL_EXPORT int GetExternalObjectCount () const
 
TIGL_EXPORT CCPACSFarFieldGetFarField ()
 
TIGL_EXPORT CCPACSFuselageGetFuselage (int index) const
 
TIGL_EXPORT CCPACSFuselageGetFuselage (const std::string &UID) const
 
TIGL_EXPORT int GetFuselageCount () const
 
TIGL_EXPORT int GetFuselageIndex (const std::string &UID) const
 
TIGL_EXPORT CCPACSFuselageProfileGetFuselageProfile (int index) const
 
TIGL_EXPORT CCPACSFuselageProfileGetFuselageProfile (std::string uid) const
 
TIGL_EXPORT int GetFuselageProfileCount () const
 
TIGL_EXPORT boost::optional< CCPACSFuselageProfiles & > GetFuselageProfiles ()
 
TIGL_EXPORT CCPACSFuselagesGetFuselages ()
 
TIGL_EXPORT const CCPACSFuselagesGetFuselages () const
 
TIGL_EXPORT CCPACSGenericSystemGetGenericSystem (int index)
 
TIGL_EXPORT CCPACSGenericSystemGetGenericSystem (const std::string &UID)
 
TIGL_EXPORT int GetGenericSystemCount ()
 
TIGL_EXPORT CCPACSGuideCurveProfileGetGuideCurveProfile (std::string UID)
 
TIGL_EXPORT const CCPACSGuideCurveProfileGetGuideCurveProfile (std::string UID) const
 
TIGL_EXPORT CCPACSHeaderGetHeader ()
 
TIGL_EXPORT CTiglMemoryPoolGetMemoryPool ()
 
TIGL_EXPORT std::string GetName () const
 
TIGL_EXPORT TopoDS_Shape GetParentLoft (const std::string &UID)
 
TIGL_EXPORT boost::optional< CCPACSProfiles > & GetProfiles ()
 
TIGL_EXPORT CCPACSRotorGetRotor (int index) const
 
TIGL_EXPORT CCPACSRotorGetRotor (const std::string &UID) const
 
TIGL_EXPORT int GetRotorBladeCount () const
 
TIGL_EXPORT int GetRotorCount () const
 
TIGL_EXPORT int GetRotorIndex (const std::string &UID) const
 
TIGL_EXPORT boost::optional< CCPACSRotorProfiles & > GetRotorProfiles ()
 
TIGL_EXPORT CTiglShapeCacheGetShapeCache ()
 
TIGL_EXPORT TixiDocumentHandle GetTixiDocumentHandle () const
 
TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () 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 CCPACSWingProfileGetWingProfile (std::string uid) const
 
TIGL_EXPORT boost::optional< CCPACSWingProfiles & > GetWingProfiles ()
 
TIGL_EXPORT boost::optional< const CCPACSWingProfiles & > GetWingProfiles () const
 
TIGL_EXPORT CCPACSWingsGetWings ()
 
TIGL_EXPORT const CCPACSWingsGetWings () const
 
TIGL_EXPORT bool HasDucts () const
 
TIGL_EXPORT bool HasFuselageProfile (std::string uid) const
 
TIGL_EXPORT bool HasWingProfile (std::string uid) const
 
TIGL_EXPORT void Invalidate ()
 
TIGL_EXPORT bool IsRotorcraft () const
 
TIGL_EXPORT void ReadCPACS (const std::string &configurationUID)
 
TIGL_EXPORT void WriteCPACS (const std::string &configurationUID)
 
virtual TIGL_EXPORT ~CCPACSConfiguration ()
 

Private Member Functions

 CCPACSConfiguration (const CCPACSConfiguration &)
 
void operator= (const CCPACSConfiguration &)
 

Private Attributes

PTiglFusePlane aircraftFuser
 
boost::optional< CCPACSAircraftModelaircraftModel
 
boost::optional< CCPACSEnginesengines
 
CCPACSFarField farField
 
CCPACSHeader header
 
CTiglMemoryPool memoryPool
 
boost::optional< CCPACSProfilesprofiles
 
boost::optional< CCPACSRotorcraftModelrotorcraftModel
 
CTiglShapeCache shapeCache
 
TixiDocumentHandle tixiDocumentHandle
 
CTiglUIDManager uidManager
 

Constructor & Destructor Documentation

◆ CCPACSConfiguration() [1/2]

TIGL_EXPORT tigl::CCPACSConfiguration::CCPACSConfiguration ( TixiDocumentHandle  tixiHandle)

◆ ~CCPACSConfiguration()

virtual TIGL_EXPORT tigl::CCPACSConfiguration::~CCPACSConfiguration ( )
virtual

◆ CCPACSConfiguration() [2/2]

tigl::CCPACSConfiguration::CCPACSConfiguration ( const CCPACSConfiguration )
private

Member Function Documentation

◆ AircraftFusingAlgo()

TIGL_EXPORT PTiglFusePlane tigl::CCPACSConfiguration::AircraftFusingAlgo ( )

◆ GetACSystems() [1/2]

TIGL_EXPORT boost::optional<CCPACSACSystems&> tigl::CCPACSConfiguration::GetACSystems ( )

◆ GetACSystems() [2/2]

TIGL_EXPORT boost::optional<const CCPACSACSystems&> tigl::CCPACSConfiguration::GetACSystems ( ) const

◆ GetAirplaneLength()

TIGL_EXPORT double tigl::CCPACSConfiguration::GetAirplaneLength ( )

◆ GetDescription()

TIGL_EXPORT std::string tigl::CCPACSConfiguration::GetDescription ( ) const

Getter/Setter for member description

◆ GetDucts() [1/2]

TIGL_EXPORT boost::optional<CCPACSDucts>& tigl::CCPACSConfiguration::GetDucts ( )

◆ GetDucts() [2/2]

TIGL_EXPORT const boost::optional<CCPACSDucts>& tigl::CCPACSConfiguration::GetDucts ( ) const

◆ GetEngine()

TIGL_EXPORT CCPACSEngine& tigl::CCPACSConfiguration::GetEngine ( const std::string &  UID) const

◆ GetEnginePositions() [1/2]

TIGL_EXPORT boost::optional<CCPACSEnginePositions>& tigl::CCPACSConfiguration::GetEnginePositions ( )

◆ GetEnginePositions() [2/2]

TIGL_EXPORT const boost::optional<CCPACSEnginePositions>& tigl::CCPACSConfiguration::GetEnginePositions ( ) const

◆ GetEnginePylons() [1/2]

TIGL_EXPORT boost::optional<CCPACSEnginePylons>& tigl::CCPACSConfiguration::GetEnginePylons ( )

◆ GetEnginePylons() [2/2]

TIGL_EXPORT const boost::optional<CCPACSEnginePylons>& tigl::CCPACSConfiguration::GetEnginePylons ( ) const

◆ GetEngines() [1/2]

TIGL_EXPORT boost::optional<CCPACSEngines>& tigl::CCPACSConfiguration::GetEngines ( )

◆ GetEngines() [2/2]

TIGL_EXPORT const boost::optional<CCPACSEngines>& tigl::CCPACSConfiguration::GetEngines ( ) const

◆ GetExternalObject()

TIGL_EXPORT CCPACSExternalObject& tigl::CCPACSConfiguration::GetExternalObject ( int  index) const

◆ GetExternalObjectCount()

TIGL_EXPORT int tigl::CCPACSConfiguration::GetExternalObjectCount ( ) const

◆ GetFarField()

TIGL_EXPORT CCPACSFarField& tigl::CCPACSConfiguration::GetFarField ( )

◆ GetFuselage() [1/2]

TIGL_EXPORT CCPACSFuselage& tigl::CCPACSConfiguration::GetFuselage ( int  index) const

◆ GetFuselage() [2/2]

TIGL_EXPORT CCPACSFuselage& tigl::CCPACSConfiguration::GetFuselage ( const std::string &  UID) const

◆ GetFuselageCount()

TIGL_EXPORT int tigl::CCPACSConfiguration::GetFuselageCount ( ) const

◆ GetFuselageIndex()

TIGL_EXPORT int tigl::CCPACSConfiguration::GetFuselageIndex ( const std::string &  UID) const

◆ GetFuselageProfile() [1/2]

TIGL_EXPORT CCPACSFuselageProfile& tigl::CCPACSConfiguration::GetFuselageProfile ( int  index) const

◆ GetFuselageProfile() [2/2]

TIGL_EXPORT CCPACSFuselageProfile& tigl::CCPACSConfiguration::GetFuselageProfile ( std::string  uid) const

◆ GetFuselageProfileCount()

TIGL_EXPORT int tigl::CCPACSConfiguration::GetFuselageProfileCount ( ) const

◆ GetFuselageProfiles()

TIGL_EXPORT boost::optional<CCPACSFuselageProfiles&> tigl::CCPACSConfiguration::GetFuselageProfiles ( )

◆ GetFuselages() [1/2]

TIGL_EXPORT CCPACSFuselages& tigl::CCPACSConfiguration::GetFuselages ( )

◆ GetFuselages() [2/2]

TIGL_EXPORT const CCPACSFuselages& tigl::CCPACSConfiguration::GetFuselages ( ) const

◆ GetGenericSystem() [1/2]

TIGL_EXPORT CCPACSGenericSystem& tigl::CCPACSConfiguration::GetGenericSystem ( int  index)

◆ GetGenericSystem() [2/2]

TIGL_EXPORT CCPACSGenericSystem& tigl::CCPACSConfiguration::GetGenericSystem ( const std::string &  UID)

◆ GetGenericSystemCount()

TIGL_EXPORT int tigl::CCPACSConfiguration::GetGenericSystemCount ( )

◆ GetGuideCurveProfile() [1/2]

TIGL_EXPORT CCPACSGuideCurveProfile& tigl::CCPACSConfiguration::GetGuideCurveProfile ( std::string  UID)

◆ GetGuideCurveProfile() [2/2]

TIGL_EXPORT const CCPACSGuideCurveProfile& tigl::CCPACSConfiguration::GetGuideCurveProfile ( std::string  UID) const

◆ GetHeader()

TIGL_EXPORT CCPACSHeader* tigl::CCPACSConfiguration::GetHeader ( )

Getter for member header

◆ GetMemoryPool()

TIGL_EXPORT CTiglMemoryPool& tigl::CCPACSConfiguration::GetMemoryPool ( )

◆ GetName()

TIGL_EXPORT std::string tigl::CCPACSConfiguration::GetName ( ) const

Getter/Setter for member name

◆ GetParentLoft()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSConfiguration::GetParentLoft ( const std::string &  UID)

◆ GetProfiles()

TIGL_EXPORT boost::optional<CCPACSProfiles>& tigl::CCPACSConfiguration::GetProfiles ( )

◆ GetRotor() [1/2]

TIGL_EXPORT CCPACSRotor& tigl::CCPACSConfiguration::GetRotor ( int  index) const

◆ GetRotor() [2/2]

TIGL_EXPORT CCPACSRotor& tigl::CCPACSConfiguration::GetRotor ( const std::string &  UID) const

◆ GetRotorBladeCount()

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

◆ GetRotorCount()

TIGL_EXPORT int tigl::CCPACSConfiguration::GetRotorCount ( ) const

◆ GetRotorIndex()

TIGL_EXPORT int tigl::CCPACSConfiguration::GetRotorIndex ( const std::string &  UID) const

◆ GetRotorProfiles()

TIGL_EXPORT boost::optional<CCPACSRotorProfiles&> tigl::CCPACSConfiguration::GetRotorProfiles ( )

◆ GetShapeCache()

TIGL_EXPORT CTiglShapeCache& tigl::CCPACSConfiguration::GetShapeCache ( )

◆ GetTixiDocumentHandle()

TIGL_EXPORT TixiDocumentHandle tigl::CCPACSConfiguration::GetTixiDocumentHandle ( ) const

◆ GetUID()

TIGL_EXPORT const std::string& tigl::CCPACSConfiguration::GetUID ( ) const

◆ GetUIDManager() [1/2]

TIGL_EXPORT CTiglUIDManager& tigl::CCPACSConfiguration::GetUIDManager ( )

◆ GetUIDManager() [2/2]

TIGL_EXPORT const CTiglUIDManager& tigl::CCPACSConfiguration::GetUIDManager ( ) const

◆ GetWing() [1/2]

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

◆ GetWing() [2/2]

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

◆ GetWingCount()

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

◆ GetWingIndex()

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

◆ GetWingProfile()

TIGL_EXPORT CCPACSWingProfile& tigl::CCPACSConfiguration::GetWingProfile ( std::string  uid) const

◆ GetWingProfiles() [1/2]

TIGL_EXPORT boost::optional<CCPACSWingProfiles&> tigl::CCPACSConfiguration::GetWingProfiles ( )

◆ GetWingProfiles() [2/2]

TIGL_EXPORT boost::optional<const CCPACSWingProfiles&> tigl::CCPACSConfiguration::GetWingProfiles ( ) const

◆ GetWings() [1/2]

TIGL_EXPORT CCPACSWings& tigl::CCPACSConfiguration::GetWings ( )

Getter for member wings

◆ GetWings() [2/2]

TIGL_EXPORT const CCPACSWings& tigl::CCPACSConfiguration::GetWings ( ) const

◆ HasDucts()

TIGL_EXPORT bool tigl::CCPACSConfiguration::HasDucts ( ) const

◆ HasFuselageProfile()

TIGL_EXPORT bool tigl::CCPACSConfiguration::HasFuselageProfile ( std::string  uid) const

◆ HasWingProfile()

TIGL_EXPORT bool tigl::CCPACSConfiguration::HasWingProfile ( std::string  uid) const

◆ Invalidate()

TIGL_EXPORT void tigl::CCPACSConfiguration::Invalidate ( )

◆ IsRotorcraft()

TIGL_EXPORT bool tigl::CCPACSConfiguration::IsRotorcraft ( ) const

◆ operator=()

void tigl::CCPACSConfiguration::operator= ( const CCPACSConfiguration )
private

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSConfiguration::ReadCPACS ( const std::string &  configurationUID)

◆ WriteCPACS()

TIGL_EXPORT void tigl::CCPACSConfiguration::WriteCPACS ( const std::string &  configurationUID)

Field Documentation

◆ aircraftFuser

PTiglFusePlane tigl::CCPACSConfiguration::aircraftFuser
private

The aircraft fusing algo

◆ aircraftModel

boost::optional<CCPACSAircraftModel> tigl::CCPACSConfiguration::aircraftModel
private

◆ engines

boost::optional<CCPACSEngines> tigl::CCPACSConfiguration::engines
private

Engines under vehicle node

◆ farField

CCPACSFarField tigl::CCPACSConfiguration::farField
private

Far field configuration for CFD tools

◆ header

CCPACSHeader tigl::CCPACSConfiguration::header
private

Configuration header element

◆ memoryPool

CTiglMemoryPool tigl::CCPACSConfiguration::memoryPool
private

◆ profiles

boost::optional<CCPACSProfiles> tigl::CCPACSConfiguration::profiles
private

Wing airfoils, fuselage profiles, rotor airfoils, guide curve profiles

◆ rotorcraftModel

boost::optional<CCPACSRotorcraftModel> tigl::CCPACSConfiguration::rotorcraftModel
private

◆ shapeCache

CTiglShapeCache tigl::CCPACSConfiguration::shapeCache
private

◆ tixiDocumentHandle

TixiDocumentHandle tigl::CCPACSConfiguration::tixiDocumentHandle
private

Handle for internal TixiDocument

◆ uidManager

CTiglUIDManager tigl::CCPACSConfiguration::uidManager
private

Stores the unique ids of the components.


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