18 FacWorld* FacWorld::_instance = NULL;
28 if (_instance == NULL) {
30 assert (_instance != NULL);
39 World* oWorld_ptr = NULL;
41 oWorld_ptr =
new World ();
42 assert (oWorld_ptr != NULL);
45 _pool.push_back (oWorld_ptr);
54 ioPlace._world = &ioWorld;
62 if (iNeedsGeneric ==
true) {
64 const bool insertSucceeded = ioWorld._genericBomList.
65 insert (GenericBomList_T::value_type (lDocID, lGenericBom)).second;
66 if (insertSucceeded ==
false) {
69 assert (insertSucceeded ==
true);
86 ioWorld._placeOrderedList.push_back (&ioPlace);
91 World* oWorld_ptr = NULL;
93 oWorld_ptr =
new World (iWorld);
94 assert (oWorld_ptr != NULL);
97 _pool.push_back (oWorld_ptr);
std::pair< BomType::EN_BomType, BomAbstract * > GenericBom_T
#define OPENTREP_LOG_ERROR(iToBeLogged)
static FacSupervisor & instance()
static FacWorld & instance()
std::string describeShortKey() const
void registerBomFactory(FacBomAbstract *)
std::string describeKey() const
Class modelling a place/POR (point of reference).
const XapianDocID_T & getDocID() const
static void linkPlaceToWorld(const bool iNeedsGeneric, World &, Place &)
World & clone(const World &)