#include <stdair/bom/BomHolderKey.hpp>
Public Member Functions | |
BomHolderKey () | |
~BomHolderKey () | |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | toString () const |
const std::string | describe () const |
Key of the BOM structure holder.
Definition at line 12 of file BomHolderKey.hpp.
Constructor.
Definition at line 13 of file BomHolderKey.cpp.
Destructor.
Definition at line 17 of file BomHolderKey.cpp.
void stdair::BomHolderKey::toStream | ( | std::ostream & | ioOut | ) | const [virtual] |
Dump a Business Object Key into an output stream.
ostream& | the output stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 21 of file BomHolderKey.cpp.
References toString().
void stdair::BomHolderKey::fromStream | ( | std::istream & | ioIn | ) | [virtual] |
Read a Business Object Key from an input stream.
istream& | the input stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 26 of file BomHolderKey.cpp.
const std::string stdair::BomHolderKey::toString | ( | ) | const [virtual] |
Get the serialised version of the Business Object Key.
That string is unique, at the level of a given Business Object, when among children of a given parent Business Object.
For instance, "H" and "K" allow to differentiate among two marketing classes for the same segment-date.
Reimplemented from stdair::KeyAbstract.
Definition at line 30 of file BomHolderKey.cpp.
Referenced by toStream().
const std::string stdair::BomHolderKey::describe | ( | ) | const |
Display of the key.