![]() |
convertUNICADO2CPACS
|
Class which represents a cost element, where every cost element has a map of cost elements. More...
#include <cpacsAcftXML.h>
Classes | |
class | costDescription |
Class which represents the cost's description and amount. More... | |
Public Member Functions | |
costElement & | at (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< mapElements > | elements |
Class which represents a cost element, where every cost element has a map of cost elements.
Forward declaration of the mapElements structure
cpacsAcft::cpacsMonetaryValues::costElement::costElement | ( | ) |
|
virtual |
Destructor of class costElement.
cpacsAcft::cpacsMonetaryValues::costElement & cpacsAcft::cpacsMonetaryValues::costElement::at | ( | std::string | elementName | ) |
Name of the costElement
void cpacsAcft::cpacsMonetaryValues::costElement::emplace | ( | std::string | key, |
costElement | value | ||
) |
Function extends the cost elements by a key + a cost amount [$].
key | Specifies the function/part of which the respective element belongs to |
value | cost amount |
unsigned int cpacsAcft::cpacsMonetaryValues::costElement::size | ( | ) |
Variable to count the number of elements
std::shared_ptr<mapElements> cpacsAcft::cpacsMonetaryValues::costElement::elements |
Pointer on mapElements
costDescription cpacsAcft::cpacsMonetaryValues::costElement::theCostDescription |
costDescription class object