OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
FacBomAbstract(const FacBomAbstract &)
std::vector< BomAbstract * > BomPool_T
Base class for the Business Object Model (BOM) layer.
Definition: BomAbstract.hpp:17
static std::string getIDString(const BomAbstract *)
static std::size_t getID(const BomAbstract *)