Service element can be placed into groups or hierarchy. This class is used to store the information of the hierarchy.
Definition at line 295 of file service.h.
typedef std::map<ServiceElement::Oid, ServiceElement> OSB_LIB::SeTree::Elements |
typedef std::set<ServiceElement> OSB_LIB::SeTree::SeList [private] |
const Elements& OSB_LIB::SeTree::elements | ( | ) | const |
Get list of all elements.
const ServiceElement* OSB_LIB::SeTree::findServiceElement | ( | const ServiceElement::Oid & | seId | ) | const |
Find a service element by its id.
seId | Object id of service element to find. |
const ServiceElement* OSB_LIB::SeTree::findServiceElement | ( | const ServiceElement & | se | ) | const |
Find a service element by its type and code.
se | Service element to find. |
const ServiceElement& OSB_LIB::SeTree::getServiceElement | ( | const ServiceElement::Oid & | seId | ) | const |
Get a service element with a given oid.
seId | Object id of service element to find. |
ObjectNotFound | if no service element for seId exists. |
void OSB_LIB::SeTree::read | ( | const OSB_DB::Session & | session | ) |
Read service elements from database.
session | Database session to use. |
Elements OSB_LIB::SeTree::elements_ [private] |
SeList OSB_LIB::SeTree::seList_ [private] |