AirInv Logo  1.00.5
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:
54  };
55 }
56 #endif // __AIRINV_FAC_FACBOMABSTRACT_HPP
AIRINV::FacBomAbstract::getID
static std::size_t getID(const BomAbstract *)
Definition: FacBomAbstract.cpp:35
AIRINV::FacBomAbstract::FacBomAbstract
FacBomAbstract()
Definition: FacBomAbstract.hpp:41
AIRINV::FacBomAbstract::getIDString
static std::string getIDString(const BomAbstract *)
Definition: FacBomAbstract.cpp:48
AIRINV::FacBomAbstract
Definition: FacBomAbstract.hpp:17
AIRINV::BomAbstract
Definition: BomAbstract.hpp:14
AIRINV::FacSupervisor
Definition: FacSupervisor.hpp:17
AIRINV
Definition: AIRINV_Master_Service.hpp:38
AIRINV::FacBomAbstract::~FacBomAbstract
virtual ~FacBomAbstract()
Definition: FacBomAbstract.cpp:16
AIRINV::FacBomAbstract::_pool
BomPool_T _pool
Definition: FacBomAbstract.hpp:53
AIRINV::FacBomAbstract::BomPool_T
std::vector< BomAbstract * > BomPool_T
Definition: FacBomAbstract.hpp:22
AIRINV::FacBomAbstract::FacBomAbstract
FacBomAbstract(const FacBomAbstract &)
Definition: FacBomAbstract.hpp:42