3.5.0-rc1
Loading...
Searching...
No Matches
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)
TIGL_EXPORT const 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 (size_t index) const
TIGL_EXPORT size_t GetExternalObjectCount () const
TIGL_EXPORT CCPACSFarFieldGetFarField ()
TIGL_EXPORT CCPACSFuelTankGetFuelTank (const std::string &UID)
TIGL_EXPORT const CCPACSFuelTankGetFuelTank (const std::string &UID) const
TIGL_EXPORT CCPACSFuelTankGetFuelTank (size_t index)
TIGL_EXPORT const CCPACSFuelTankGetFuelTank (size_t index) const
TIGL_EXPORT size_t GetFuelTankCount () const
TIGL_EXPORT size_t GetFuelTankIndex (const std::string &UID) const
TIGL_EXPORT CCPACSFuelTanksGetFuelTanks ()
TIGL_EXPORT const CCPACSFuelTanksGetFuelTanks () const
TIGL_EXPORT CCPACSFuselageGetFuselage (const std::string &UID)
TIGL_EXPORT const CCPACSFuselageGetFuselage (const std::string &UID) const
TIGL_EXPORT CCPACSFuselageGetFuselage (size_t index)
TIGL_EXPORT const CCPACSFuselageGetFuselage (size_t index) const
TIGL_EXPORT size_t GetFuselageCount () const
TIGL_EXPORT size_t GetFuselageIndex (const std::string &UID) const
TIGL_EXPORT CCPACSFuselageProfileGetFuselageProfile (size_t index)
TIGL_EXPORT const CCPACSFuselageProfileGetFuselageProfile (size_t index) const
TIGL_EXPORT CCPACSFuselageProfileGetFuselageProfile (std::string uid)
TIGL_EXPORT const CCPACSFuselageProfileGetFuselageProfile (std::string uid) const
TIGL_EXPORT size_t GetFuselageProfileCount () const
TIGL_EXPORT boost::optional< CCPACSFuselageProfiles & > GetFuselageProfiles ()
TIGL_EXPORT CCPACSFuselagesGetFuselages ()
TIGL_EXPORT const CCPACSFuselagesGetFuselages () const
TIGL_EXPORT CCPACSGenericSystemGetGenericSystem (const std::string &UID)
TIGL_EXPORT const CCPACSGenericSystemGetGenericSystem (const std::string &UID) const
TIGL_EXPORT CCPACSGenericSystemGetGenericSystem (size_t index)
TIGL_EXPORT const CCPACSGenericSystemGetGenericSystem (size_t index) const
TIGL_EXPORT size_t GetGenericSystemCount () const
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 (const std::string &UID)
TIGL_EXPORT const CCPACSRotorGetRotor (const std::string &UID) const
TIGL_EXPORT CCPACSRotorGetRotor (size_t index)
TIGL_EXPORT const CCPACSRotorGetRotor (size_t index) const
TIGL_EXPORT size_t GetRotorBladeCount () const
TIGL_EXPORT size_t GetRotorCount () const
TIGL_EXPORT size_t GetRotorIndex (const std::string &UID) const
TIGL_EXPORT boost::optional< CCPACSRotorProfiles & > GetRotorProfiles ()
TIGL_EXPORT CTiglShapeCacheGetShapeCache ()
TIGL_EXPORT CCPACSSystemArchitectureGetSystemArchitecture (const std::string &UID)
TIGL_EXPORT const CCPACSSystemArchitectureGetSystemArchitecture (const std::string &UID) const
TIGL_EXPORT CCPACSSystemArchitectureGetSystemArchitecture (size_t index)
TIGL_EXPORT const CCPACSSystemArchitectureGetSystemArchitecture (size_t index) const
TIGL_EXPORT size_t GetSystemArchitecturesCount () const
TIGL_EXPORT TixiDocumentHandle GetTixiDocumentHandle () const
TIGL_EXPORT const std::string & GetUID () const
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
TIGL_EXPORT CCPACSWingGetWing (const std::string &UID)
TIGL_EXPORT const CCPACSWingGetWing (const std::string &UID) const
TIGL_EXPORT CCPACSWingGetWing (size_t index)
TIGL_EXPORT const CCPACSWingGetWing (size_t index) const
TIGL_EXPORT size_t GetWingCount () const
TIGL_EXPORT size_t GetWingIndex (const std::string &UID) const
TIGL_EXPORT CCPACSWingProfileGetWingProfile (std::string uid)
TIGL_EXPORT const 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< CCPACSDeckElementsdeckElements
boost::optional< CCPACSEnginesengines
CCPACSFarField farField
CCPACSHeader header
CTiglMemoryPool memoryPool
boost::optional< CCPACSProfilesprofiles
boost::optional< CCPACSRotorcraftModelrotorcraftModel
CTiglShapeCache shapeCache
boost::optional< CCPACSSystemElementssystemElements
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() [1/2]

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

◆ GetEngine() [2/2]

TIGL_EXPORT const 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 ( size_t index) const

◆ GetExternalObjectCount()

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

◆ GetFarField()

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

◆ GetFuelTank() [1/4]

TIGL_EXPORT CCPACSFuelTank & tigl::CCPACSConfiguration::GetFuelTank ( const std::string & UID)

◆ GetFuelTank() [2/4]

TIGL_EXPORT const CCPACSFuelTank & tigl::CCPACSConfiguration::GetFuelTank ( const std::string & UID) const

◆ GetFuelTank() [3/4]

TIGL_EXPORT CCPACSFuelTank & tigl::CCPACSConfiguration::GetFuelTank ( size_t index)

◆ GetFuelTank() [4/4]

TIGL_EXPORT const CCPACSFuelTank & tigl::CCPACSConfiguration::GetFuelTank ( size_t index) const

◆ GetFuelTankCount()

TIGL_EXPORT size_t tigl::CCPACSConfiguration::GetFuelTankCount ( ) const

◆ GetFuelTankIndex()

TIGL_EXPORT size_t tigl::CCPACSConfiguration::GetFuelTankIndex ( const std::string & UID) const

◆ GetFuelTanks() [1/2]

TIGL_EXPORT CCPACSFuelTanks & tigl::CCPACSConfiguration::GetFuelTanks ( )

◆ GetFuelTanks() [2/2]

TIGL_EXPORT const CCPACSFuelTanks & tigl::CCPACSConfiguration::GetFuelTanks ( ) const

◆ GetFuselage() [1/4]

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

◆ GetFuselage() [2/4]

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

◆ GetFuselage() [3/4]

TIGL_EXPORT CCPACSFuselage & tigl::CCPACSConfiguration::GetFuselage ( size_t index)

◆ GetFuselage() [4/4]

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

◆ GetFuselageCount()

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

◆ GetFuselageIndex()

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

◆ GetFuselageProfile() [1/4]

TIGL_EXPORT CCPACSFuselageProfile & tigl::CCPACSConfiguration::GetFuselageProfile ( size_t index)

◆ GetFuselageProfile() [2/4]

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

◆ GetFuselageProfile() [3/4]

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

◆ GetFuselageProfile() [4/4]

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

◆ GetFuselageProfileCount()

TIGL_EXPORT size_t 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/4]

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

◆ GetGenericSystem() [2/4]

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

◆ GetGenericSystem() [3/4]

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

◆ GetGenericSystem() [4/4]

TIGL_EXPORT const CCPACSGenericSystem & tigl::CCPACSConfiguration::GetGenericSystem ( size_t index) const

◆ GetGenericSystemCount()

TIGL_EXPORT size_t tigl::CCPACSConfiguration::GetGenericSystemCount ( ) const

◆ 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/4]

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

◆ GetRotor() [2/4]

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

◆ GetRotor() [3/4]

TIGL_EXPORT CCPACSRotor & tigl::CCPACSConfiguration::GetRotor ( size_t index)

◆ GetRotor() [4/4]

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

◆ GetRotorBladeCount()

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

◆ GetRotorCount()

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

◆ GetRotorIndex()

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

◆ GetRotorProfiles()

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

◆ GetShapeCache()

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

◆ GetSystemArchitecture() [1/4]

TIGL_EXPORT CCPACSSystemArchitecture & tigl::CCPACSConfiguration::GetSystemArchitecture ( const std::string & UID)

◆ GetSystemArchitecture() [2/4]

TIGL_EXPORT const CCPACSSystemArchitecture & tigl::CCPACSConfiguration::GetSystemArchitecture ( const std::string & UID) const

◆ GetSystemArchitecture() [3/4]

TIGL_EXPORT CCPACSSystemArchitecture & tigl::CCPACSConfiguration::GetSystemArchitecture ( size_t index)

◆ GetSystemArchitecture() [4/4]

TIGL_EXPORT const CCPACSSystemArchitecture & tigl::CCPACSConfiguration::GetSystemArchitecture ( size_t index) const

◆ GetSystemArchitecturesCount()

TIGL_EXPORT size_t tigl::CCPACSConfiguration::GetSystemArchitecturesCount ( ) const

◆ 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/4]

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

◆ GetWing() [2/4]

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

◆ GetWing() [3/4]

TIGL_EXPORT CCPACSWing & tigl::CCPACSConfiguration::GetWing ( size_t index)

◆ GetWing() [4/4]

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

◆ GetWingCount()

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

◆ GetWingIndex()

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

◆ GetWingProfile() [1/2]

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

◆ GetWingProfile() [2/2]

TIGL_EXPORT const 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 ( )

◆ GetWings() [2/2]

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

Getter for member wings

◆ 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

◆ deckElements

boost::optional<CCPACSDeckElements> tigl::CCPACSConfiguration::deckElements
private

Deck elements under vehicle node

◆ 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

◆ systemElements

boost::optional<CCPACSSystemElements> tigl::CCPACSConfiguration::systemElements
private

System elements under vehicle node

◆ 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: