AirInv Logo  1.00.1
C++ Simulated Airline Inventory Management System library
FacBomAbstract.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_FAC_FACBOMABSTRACT_HPP
2 #define __AIRINV_FAC_FACBOMABSTRACT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <vector>
10 
11 namespace AIRINV {
12 
13  // Forward declarations
14  class BomAbstract;
15 
18  friend class FacSupervisor;
19  public:
20 
22  typedef std::vector<BomAbstract*> BomPool_T;
23 
25  static std::size_t getID (const BomAbstract*);
26 
28  static std::size_t getID (const BomAbstract&);
29 
32  static std::string getIDString (const BomAbstract*);
33 
36  static std::string getIDString (const BomAbstract&);
37 
38  protected:
43 
45  virtual ~FacBomAbstract();
46 
47  private:
49  void clean();
50 
51  protected:
53  BomPool_T _pool;
54  };
55 }
56 #endif // __AIRINV_FAC_FACBOMABSTRACT_HPP
FacBomAbstract(const FacBomAbstract &)
static std::size_t getID(const BomAbstract *)
std::vector< BomAbstract * > BomPool_T
static std::string getIDString(const BomAbstract *)