The class stores a flat list of connection points and ... ToDo:.
Definition at line 74 of file cptree.h.
typedef CpList::const_iterator OSB_LIB::CpTree::ConstIter |
typedef std::map<ConnectionPt::Oid, ConnectionPt> OSB_LIB::CpTree::CpList |
void OSB_LIB::CpTree::addCp | ( | const ConnectionPt & | cp | ) | [private] |
Add a connection point.
cp | Connection point to add. |
ConstIter OSB_LIB::CpTree::begin | ( | ) | const |
Start of connection point list.
CpList& OSB_LIB::CpTree::cpList | ( | ) | [private] |
Write access to list of connection points.
const CpList& OSB_LIB::CpTree::cpList | ( | ) | const |
Access to the whole list of connection points.
void OSB_LIB::CpTree::delCp | ( | const ConnectionPt::Oid & | cpId | ) | [private] |
Delete a connetion point.
cpId | Object id of connection point to delete. |
ConstIter OSB_LIB::CpTree::end | ( | ) | const |
End of connection point list.
ConnectionPt* OSB_LIB::CpTree::findCp | ( | const ConnectionPt::Oid & | cpId | ) | [private] |
Find a connection point.
cpId | Object id of the connection point to find. |
const ConnectionPt* OSB_LIB::CpTree::findCp | ( | const ConnectionPt::Oid & | cpId | ) | const |
Find a connection point, non-throwing.
cpId | Object id of the connection point to find. |
std::set<ConnectionPt::Oid> OSB_LIB::CpTree::getChildren | ( | const ConnectionPt::Oid & | cpId | ) | const |
Get list of child connection points.
const ConnectionPt& OSB_LIB::CpTree::getCp | ( | const ConnectionPt::Oid & | cpId | ) | const |
Find a connection point, throwing.
cpId | Object id of the connection point to find. |
OsbException | if cpId can not be found. |
bool OSB_LIB::CpTree::hasChildren | ( | const ConnectionPt::Oid & | cpId | ) | const |
Does the connection point have children?
friend class OSB_DB::ConnectionPtGw [friend] |
friend class TariffCatalogue [friend] |
CpList OSB_LIB::CpTree::cpList_ [private] |