convertUNICADO2CPACS
cpacsAcft::cpacsMonetaryValues::costElement Class Reference

Class which represents a cost element, where every cost element has a map of cost elements. More...

#include <cpacsAcftXML.h>

Collaboration diagram for cpacsAcft::cpacsMonetaryValues::costElement:
Collaboration graph

Classes

class  costDescription
 Class which represents the cost's description and amount. More...
 

Public Member Functions

costElementat (std::string elementName)
 
void emplace (std::string key, costElement value)
 Function extends the cost elements by a key + a cost amount [$]. More...
 
unsigned int size ()
 
 costElement ()
 Constructor of class costElement. More...
 
virtual ~costElement ()
 Destructor of class costElement. More...
 

Public Attributes

costDescription theCostDescription
 
std::shared_ptr< mapElementselements
 

Detailed Description

Class which represents a cost element, where every cost element has a map of cost elements.

Forward declaration of the mapElements structure

Constructor & Destructor Documentation

◆ costElement()

cpacsAcft::cpacsMonetaryValues::costElement::costElement ( )

Constructor of class costElement.

Here is the caller graph for this function:

◆ ~costElement()

cpacsAcft::cpacsMonetaryValues::costElement::~costElement ( )
virtual

Destructor of class costElement.

Member Function Documentation

◆ at()

cpacsAcft::cpacsMonetaryValues::costElement & cpacsAcft::cpacsMonetaryValues::costElement::at ( std::string  elementName)

Name of the costElement

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emplace()

void cpacsAcft::cpacsMonetaryValues::costElement::emplace ( std::string  key,
costElement  value 
)

Function extends the cost elements by a key + a cost amount [$].

Parameters
keySpecifies the function/part of which the respective element belongs to
valuecost amount
Here is the caller graph for this function:

◆ size()

unsigned int cpacsAcft::cpacsMonetaryValues::costElement::size ( )

Variable to count the number of elements

Member Data Documentation

◆ elements

std::shared_ptr<mapElements> cpacsAcft::cpacsMonetaryValues::costElement::elements

Pointer on mapElements

◆ theCostDescription

costDescription cpacsAcft::cpacsMonetaryValues::costElement::theCostDescription

costDescription class object


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