OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
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

◆ BomPool_T

Define the list (pool) of Bom objects.

Definition at line 22 of file FacBomAbstract.hpp.

Constructor & Destructor Documentation

◆ FacBomAbstract() [1/2]

OPENTREP::FacBomAbstract::FacBomAbstract ( )
inlineprotected

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

Definition at line 41 of file FacBomAbstract.hpp.

Referenced by FacBomAbstract().

◆ FacBomAbstract() [2/2]

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

Definition at line 42 of file FacBomAbstract.hpp.

References FacBomAbstract().

◆ ~FacBomAbstract()

OPENTREP::FacBomAbstract::~FacBomAbstract ( )
protectedvirtual

Destructor.

Definition at line 17 of file FacBomAbstract.cpp.

Member Function Documentation

◆ getID() [1/2]

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().

◆ getID() [2/2]

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().

◆ getIDString() [1/2]

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().

◆ getIDString() [2/2]

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 Symbol Documentation

◆ FacSupervisor

friend class FacSupervisor
friend

Definition at line 18 of file FacBomAbstract.hpp.

References FacSupervisor.

Referenced by FacSupervisor.

Member Data Documentation

◆ _pool


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