OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OPENTREP::FacBomAbstract Class Reference

#include <opentrep/factory/FacBomAbstract.hpp>

+ Inheritance diagram for OPENTREP::FacBomAbstract:

Public Types

typedef std::vector
< BomAbstract * > 
BomPool_T
 

Static Public Member Functions

static std::size_t getID (const BomAbstract *)
 
static std::size_t getID (const BomAbstract &)
 
static std::string getIDString (const BomAbstract *)
 
static std::string getIDString (const BomAbstract &)
 

Protected Member Functions

 FacBomAbstract ()
 
 FacBomAbstract (const FacBomAbstract &)
 
virtual ~FacBomAbstract ()
 

Protected Attributes

BomPool_T _pool
 

Friends

class FacSupervisor
 

Detailed Description

Base class for Factory layer.

Definition at line 17 of file FacBomAbstract.hpp.

Member Typedef Documentation

Define the list (pool) of Bom objects.

Definition at line 22 of file FacBomAbstract.hpp.

Constructor & Destructor Documentation

OPENTREP::FacBomAbstract::FacBomAbstract ( )
inlineprotected

Default Constructor.
This constructor is protected to ensure the class is abstract.

Definition at line 41 of file FacBomAbstract.hpp.

OPENTREP::FacBomAbstract::FacBomAbstract ( const FacBomAbstract )
inlineprotected

Definition at line 42 of file FacBomAbstract.hpp.

OPENTREP::FacBomAbstract::~FacBomAbstract ( )
protectedvirtual

Destructor.

Definition at line 17 of file FacBomAbstract.cpp.

Member Function Documentation

std::size_t OPENTREP::FacBomAbstract::getID ( const BomAbstract iBomAbstract_ptr)
static

Return the ID corresponding to the given object pointer.

Definition at line 36 of file FacBomAbstract.cpp.

Referenced by getID(), and getIDString().

std::size_t OPENTREP::FacBomAbstract::getID ( const BomAbstract iBomAbstract)
static

Return the ID corresponding to the given object reference.

Definition at line 44 of file FacBomAbstract.cpp.

References getID().

std::string OPENTREP::FacBomAbstract::getIDString ( const BomAbstract iBomAbstract_ptr)
static

Return the ID, as a string, corresponding to the given object pointer.

Definition at line 49 of file FacBomAbstract.cpp.

References getID().

Referenced by getIDString().

std::string OPENTREP::FacBomAbstract::getIDString ( const BomAbstract iBomAbstract)
static

Return the ID, as a string, corresponding to the given object reference.

Definition at line 57 of file FacBomAbstract.cpp.

References getIDString().

Friends And Related Function Documentation

friend class FacSupervisor
friend

Definition at line 18 of file FacBomAbstract.hpp.

Member Data Documentation


The documentation for this class was generated from the following files: