OpenTREP Logo  0.07.7
C++ Open Travel Request Parsing Library
FacBomAbstract.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_FAC_FACBOMABSTRACT_HPP
2 #define __OPENTREP_FAC_FACBOMABSTRACT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <vector>
10 
11 namespace OPENTREP {
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 // __OPENTREP_FAC_FACBOMABSTRACT_HPP
OPENTREP::FacBomAbstract::BomPool_T
std::vector< BomAbstract * > BomPool_T
Definition: FacBomAbstract.hpp:22
OPENTREP::FacSupervisor
Definition: FacSupervisor.hpp:21
OPENTREP::FacBomAbstract::getID
static std::size_t getID(const BomAbstract *)
Definition: FacBomAbstract.cpp:36
OPENTREP::FacBomAbstract::FacBomAbstract
FacBomAbstract()
Definition: FacBomAbstract.hpp:41
OPENTREP::FacBomAbstract::~FacBomAbstract
virtual ~FacBomAbstract()
Definition: FacBomAbstract.cpp:17
OPENTREP
Definition: BasChronometer.cpp:10
OPENTREP::FacBomAbstract
Definition: FacBomAbstract.hpp:17
OPENTREP::FacBomAbstract::_pool
BomPool_T _pool
Definition: FacBomAbstract.hpp:53
OPENTREP::BomAbstract
Base class for the Business Object Model (BOM) layer.
Definition: BomAbstract.hpp:17
OPENTREP::FacBomAbstract::getIDString
static std::string getIDString(const BomAbstract *)
Definition: FacBomAbstract.cpp:49
OPENTREP::FacBomAbstract::FacBomAbstract
FacBomAbstract(const FacBomAbstract &)
Definition: FacBomAbstract.hpp:42