#include <opentrep/bom/World.hpp>
Public Member Functions | |
const PlaceOrderedList_T & | getSimplePlaceList () const |
void | toStream (std::ostream &) const |
void | fromStream (std::istream &) |
std::string | toString () const |
std::string | describeKey () const |
std::string | describeShortKey () const |
std::string | display () const |
std::string | shortDisplay () const |
GenericBom_T | getGenericBom (const XapianDocID_T &iDocID) const |
Friends | |
class | FacWorld |
class | DbaWorld |
|
inline |
|
virtual |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements OPENTREP::BomAbstract.
Definition at line 44 of file World.cpp.
References toString().
|
virtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements OPENTREP::BomAbstract.
|
virtual |
Get the serialised version of the World object.
Implements OPENTREP::BomAbstract.
Definition at line 39 of file World.cpp.
References describeKey().
Referenced by toStream().
|
virtual |
Get a string describing the whole key (differentiating two objects at any level).
Implements OPENTREP::BomAbstract.
Definition at line 34 of file World.cpp.
References describeShortKey().
Referenced by OPENTREP::FacWorld::linkPlaceToWorld(), shortDisplay(), and toString().
|
virtual |
Get a string describing the short key (differentiating two objects at the same level).
Implements OPENTREP::BomAbstract.
Definition at line 28 of file World.cpp.
Referenced by describeKey().
std::string OPENTREP::World::display | ( | ) | const |
Display the full World context.
Definition at line 60 of file World.cpp.
References OPENTREP::Place::display(), and shortDisplay().
Referenced by OPENTREP::OPENTREP_ServiceContext::display().
std::string OPENTREP::World::shortDisplay | ( | ) | const |
Display a short World context.
Definition at line 53 of file World.cpp.
References describeKey().
Referenced by display().
GenericBom_T OPENTREP::World::getGenericBom | ( | const XapianDocID_T & | iDocID | ) | const |
Retrieve a generic BOM object from the dedicated list.
Definition at line 77 of file World.cpp.
References OPENTREP::BomType::LAST_VALUE.