convertUNICADO2CPACS
cpacsAcft Class Reference

Class that represents the CPACS Aircrafts XML Structure. More...

#include <cpacsAcftXML.h>

Collaboration diagram for cpacsAcft:
Collaboration graph

Classes

class  componentSegment
 Class which represents the CPACS componentSegment-XML-Block. More...
 
class  controlSurface
 Class that represents the CPACS Control Surface XML Block. Definition of the outer shape, structure and deflection of all control surfaces (flaps, slats, spoiler, ailerons...) of the wing. More...
 
class  cpacsAccommodation
 Class only used for conversion to UNICADO to include accommodations. More...
 
class  cpacsAeroPerformanceMap
 Class which contains the aerodynamic performance data. More...
 
class  cpacsDeck
 Class which represents the CPACS deck element XML block. More...
 
class  cpacsDesignSpecs
 Class only used for conversion to UNICADO to include design specifications. More...
 
class  cpacsEcologicalValues
 Represents the CPACS ecological values block. More...
 
class  cpacsEngine
 Class which contains geometry and performance parameters of the engine. More...
 
class  cpacsFuselage
 Class which represents the CPACS fuselage XML block. More...
 
class  cpacsGear
 Class which represents the CPACS gear XML block. More...
 
class  cpacsIsotropicProperties
 Class which represents the CPACS isotropic properties block. More...
 
class  cpacsMassBreakdown
 
class  cpacsMaterial
 Class which represents the CPACS material XML block. More...
 
class  cpacsMaterialProperties
 Class which represents the CPACS MaterialProperties. More...
 
class  cpacsMaterials
 Class which represents the CPACS materials XML block. More...
 
class  cpacsMission
 Class which represents the CPACS missions XML Block. More...
 
class  cpacsMonetaryValues
 Class which represents the CPACS monetary values block. More...
 
class  cpacsProfile
 Class which represents the CPACS profile XML block (fuselage and wing) More...
 
class  cpacsProfiles
 Class which represents the CPACS profiles XML block (fuselage and wing) More...
 
class  cpacsPylon
 Class which represents the CPACS pylon XML block. More...
 
class  cpacsReference
 Class that represents the CPACS reference block. More...
 
class  cpacsRequirements
 Represents the CPACS requirements block. More...
 
class  cpacsSeatElement
 Class which represents the CPACS seat element XML block. More...
 
class  cpacsSystem
 Class which contains the performance parameters of the system. More...
 
class  cpacsTrajectory
 Class which represents the CPACS trajectory XML block. More...
 
class  cpacsWing
 Class which represents the CPACS wing XML block. More...
 
class  element
 Class that represents the generalized CPACS Elements-Block, that is used for all components such as wing, fuselage, etc. More...
 
class  fuelTank
 Class which describes the different volumes of the fuel tank. More...
 
class  fuselageFuelTank
 Class which describes the different volumes of the fuselage fuel tank including its position. More...
 
class  information
 Class that represents the CPACS Info which is used for all components. More...
 
class  positioning
 Class that represents the generalized CPACS Positionings Block, that is used for all components such as wing, fuselage, etc. More...
 
class  section
 Class that represents the generalized CPACS Section Block, that is used for all components such as wing, fuselage, etc. More...
 
class  segment
 Class that represents the generalized CPACS Segments Block, that is used for all components such as wing, fuselage, etc. More...
 
class  spars
 Class which defines the spars in CPACS. More...
 
class  transformation
 Class that represents the CPACS Transformation Block, that is used for all components such as wing, fuselage, etc. More...
 
class  wingFuelTank
 Class which describes the different volumes of the wing fuel tank including its position. More...
 

Public Member Functions

 cpacsAcft (const convertUNICADO2CPACSSettings &mySettings)
 Constructor of class cpacsAcft. More...
 
virtual ~cpacsAcft ()
 Destructor of class cpacsAcft. More...
 
void createCircleProfile ()
 creates coordinates list for the wheel geometry in CPACS More...
 

Public Attributes

std::vector< std::string > Input
 
std::vector< std::string > Output
 
information info
 
cpacsReference theCpacsReference
 
cpacsMassBreakdown theCpacsMassBreakdown
 
cpacsProfiles theCpacsProfiles
 
cpacsMaterials theCpacsMaterials
 
cpacsWing theCpacsWing
 
cpacsWing theCpacsStabiliser
 
cpacsWing theCpacsFin
 
cpacsSeatElement theCpacsSeatElement
 
cpacsDeck theCpacsDeck
 
cpacsFuselage theCpacsFuse
 
std::vector< cpacsPylontheCpacsPylon
 
std::vector< cpacsEnginetheCpacsEngines
 
std::vector< cpacsGeartheCpacsNoseGear
 
std::vector< cpacsGeartheCpacsMainGear
 
cpacsTrajectory theCpacsTrajectory
 
cpacsMission theCpacsDesignMission
 
cpacsMission theCpacsStudyMission
 
cpacsAccommodation theCpacsAccommodation
 
cpacsDesignSpecs theDesignSpecs
 
std::vector< cpacsAeroPerformanceMaptheAeroPerformanceMaps
 
cpacsSystem theCpacsSystem
 
cpacsMonetaryValues theCpacsMonetaryValues
 
cpacsEcologicalValues theCpacsEcologicalValues
 
cpacsRequirements theCpacsReqs
 

Private Member Functions

double readDoubleValue (std::string pathXML, double lowerBound, double upperBound)
 Function that reads a double value. More...
 
std::vector< double > readDoubleVector (std::string pathXML, double lowerBound, double upperBound)
 Function that reads a double vector. More...
 
std::vector< double > readDoubleVector_depth (std::string pathXML, double lowerBound, double upperBound)
 Function that reads a double vector in the whole XML-document. More...
 
int readIntValue (std::string pathXML, double lowerBound, double upperBound)
 Function that reads an integer value. More...
 
std::vector< int > readIntVector (std::string pathXML, double lowerBound, double upperBound)
 Function that reads an integer vector. More...
 
std::vector< int > readIntVector_depth (std::string pathXML, double lowerBound, double upperBound)
 Function that reads an integer vector in the whole XML-document. More...
 
std::string readStringValue (std::string pathXML)
 Function that reads a string value. More...
 
std::vector< std::string > readStringVector (std::string pathXML)
 Function that reads a string vector. More...
 
std::vector< std::string > readStringVector_depth (std::string pathXML)
 Function that reads a string vector in the whole XML-document. More...
 
std::string readStringAttrib (std::string pathXML, std::string attribute)
 Function that reads a string attribute. More...
 

Private Attributes

const convertUNICADO2CPACSSettingsmySettingsPt
 

Detailed Description

Class that represents the CPACS Aircrafts XML Structure.

Constructor & Destructor Documentation

◆ cpacsAcft()

cpacsAcft::cpacsAcft ( const convertUNICADO2CPACSSettings mySettings)
explicit

Constructor of class cpacsAcft.

Parameters
convertUNICADO2CPACSSettingsGlobal class for the program settings, which are accessed throughout the program
mySettingsGlobal settings object
Here is the call graph for this function:

◆ ~cpacsAcft()

cpacsAcft::~cpacsAcft ( )
virtual

Destructor of class cpacsAcft.

Member Function Documentation

◆ createCircleProfile()

void cpacsAcft::createCircleProfile ( )

creates coordinates list for the wheel geometry in CPACS

Here is the caller graph for this function:

◆ readDoubleValue()

double cpacsAcft::readDoubleValue ( std::string  pathXML,
double  lowerBound,
double  upperBound 
)
private

Function that reads a double value.

Parameters
pathXMLPath to the info which shall be read
lowerBound
upperBound

◆ readDoubleVector()

std::vector< double > cpacsAcft::readDoubleVector ( std::string  pathXML,
double  lowerBound,
double  upperBound 
)
private

Function that reads a double vector.

Parameters
pathXMLPath to the info which shall be read

param

◆ readDoubleVector_depth()

std::vector< double > cpacsAcft::readDoubleVector_depth ( std::string  pathXML,
double  lowerBound,
double  upperBound 
)
private

Function that reads a double vector in the whole XML-document.

Parameters
pathXMLPath to the info which shall be read

param

◆ readIntValue()

int cpacsAcft::readIntValue ( std::string  pathXML,
double  lowerBound,
double  upperBound 
)
private

Function that reads an integer value.

Parameters
pathXMLPath to the info which shall be read

param

◆ readIntVector()

std::vector< int > cpacsAcft::readIntVector ( std::string  pathXML,
double  lowerBound,
double  upperBound 
)
private

Function that reads an integer vector.

Parameters
pathXMLPath to the info which shall be read

param

◆ readIntVector_depth()

std::vector< int > cpacsAcft::readIntVector_depth ( std::string  pathXML,
double  lowerBound,
double  upperBound 
)
private

Function that reads an integer vector in the whole XML-document.

Parameters
pathXMLPath to the info which shall be read

param

◆ readStringAttrib()

std::string cpacsAcft::readStringAttrib ( std::string  pathXML,
std::string  attribute 
)
private

Function that reads a string attribute.

Parameters
pathXMLPath to the info which shall be read

param

◆ readStringValue()

std::string cpacsAcft::readStringValue ( std::string  pathXML)
private

Function that reads a string value.

Parameters
pathXMLPath to the info which shall be read

param

◆ readStringVector()

std::vector< std::string > cpacsAcft::readStringVector ( std::string  pathXML)
private

Function that reads a string vector.

Parameters
pathXMLPath to the info which shall be read

param

◆ readStringVector_depth()

std::vector< std::string > cpacsAcft::readStringVector_depth ( std::string  pathXML)
private

Function that reads a string vector in the whole XML-document.

Parameters
pathXMLPath to the info which shall be read

param

Member Data Documentation

◆ info

information cpacsAcft::info

Object of the information class that provides the CPACS infos like uID and description

◆ Input

std::vector<std::string> cpacsAcft::Input

Vector for input data (to be written in _info.txt & _guiSettings.xml files)

◆ mySettingsPt

const convertUNICADO2CPACSSettings* cpacsAcft::mySettingsPt
private

Pointer to the settings

◆ Output

std::vector<std::string> cpacsAcft::Output

Vector for output data (to be written in _info.txt & _guiSettings.xml files)

◆ theAeroPerformanceMaps

std::vector<cpacsAeroPerformanceMap> cpacsAcft::theAeroPerformanceMaps

Vector which contains objects of the cpacsAeroPerformanceMap class

◆ theCpacsAccommodation

cpacsAccommodation cpacsAcft::theCpacsAccommodation

cpacsAccommodation class object

◆ theCpacsDeck

cpacsDeck cpacsAcft::theCpacsDeck

cpacsDeck class object

◆ theCpacsDesignMission

cpacsMission cpacsAcft::theCpacsDesignMission

cpacsMission class object

◆ theCpacsEcologicalValues

cpacsEcologicalValues cpacsAcft::theCpacsEcologicalValues

cpacsEcologicalValues class object

◆ theCpacsEngines

std::vector<cpacsEngine> cpacsAcft::theCpacsEngines

vector which contains objects of the cpacsEngine class

◆ theCpacsFin

cpacsWing cpacsAcft::theCpacsFin

cpacsWing class object

◆ theCpacsFuse

cpacsFuselage cpacsAcft::theCpacsFuse

cpacsFuselage class object

◆ theCpacsMainGear

std::vector<cpacsGear> cpacsAcft::theCpacsMainGear

Vector which contains objects of the cpacsGear class

◆ theCpacsMassBreakdown

cpacsMassBreakdown cpacsAcft::theCpacsMassBreakdown

Object called "theCpacsMassBreakdown" which is a member of the cpacsMassBreakdown class

◆ theCpacsMaterials

cpacsMaterials cpacsAcft::theCpacsMaterials

cpacsMaterials class object

◆ theCpacsMonetaryValues

cpacsMonetaryValues cpacsAcft::theCpacsMonetaryValues

cpacsMonetaryValues class object

◆ theCpacsNoseGear

std::vector<cpacsGear> cpacsAcft::theCpacsNoseGear

Vector which contains objects of the cpacsGear class

◆ theCpacsProfiles

cpacsProfiles cpacsAcft::theCpacsProfiles

Object of the cpacsProfiles class

◆ theCpacsPylon

std::vector<cpacsPylon> cpacsAcft::theCpacsPylon

vector containing cpacsPylon class objects

◆ theCpacsReference

cpacsReference cpacsAcft::theCpacsReference

Object called "theCpacsReference" which is a member of the cpacsReference class

◆ theCpacsReqs

cpacsRequirements cpacsAcft::theCpacsReqs

cpacsRequirements class object

◆ theCpacsSeatElement

cpacsSeatElement cpacsAcft::theCpacsSeatElement

cpacsSeatElement class object

◆ theCpacsStabiliser

cpacsWing cpacsAcft::theCpacsStabiliser

cpacsWing class object

◆ theCpacsStudyMission

cpacsMission cpacsAcft::theCpacsStudyMission

cpacsMission class object

◆ theCpacsSystem

cpacsSystem cpacsAcft::theCpacsSystem

cpacsSystem class object

◆ theCpacsTrajectory

cpacsTrajectory cpacsAcft::theCpacsTrajectory

cpacsTrajectory class object

◆ theCpacsWing

cpacsWing cpacsAcft::theCpacsWing

cpacsWing class object

◆ theDesignSpecs

cpacsDesignSpecs cpacsAcft::theDesignSpecs

cpacsDesignSpecs class object


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