StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MPInventory.cpp
Go to the documentation of this file.
1 
5 // //////////////////////////////////////////////////////////////////////
6 // Import section
7 // //////////////////////////////////////////////////////////////////////
8 // STL
9 #include <cassert>
10 // StdAir
12 // StdAir Test
14 
15 namespace myprovider {
16 
17  // ////////////////////////////////////////////////////////////////////
18  Inventory::Inventory (const Key_T& iKey) : stdair::Inventory (iKey) {
19  }
20 
21  // ////////////////////////////////////////////////////////////////////
22  Inventory::~Inventory () {
23  }
24 
25  // ////////////////////////////////////////////////////////////////////
26  std::string Inventory::toString() const {
27  std::ostringstream oStr;
28  oStr << _key.toString();
29  return oStr.str();
30  }
31 
32  // ////////////////////////////////////////////////////////////////////
33  const std::string Inventory::describeKey() const {
34  return _key.toString();
35  }
36 
37 }