108 template<
class T,
class X,
class Y>
class PQNode;
110 template<
class T,
class X,
class Y>
144 virtual std::ostream &
print(std::ostream &os) {
return os; }
PQNode< T, X, Y > * nodePointer()
The function nodePointer() returns a pointer to an element of type PQNode.
PQNode< T, X, Y > * m_nodePointer
Stores the adress of a node.
The class PQBasicKeyRoot is used as a base class of the class template basicKey.
virtual T userStructKey()=0
Returns the key of a leaf.
virtual X userStructInfo()=0
Returns the information of any node.
virtual std::ostream & print(std::ostream &os)
The function print() is a virtual function, that can be overloaded by the user in order to print out ...
Declaration and implementation of the class PQBasicKeyRoot.
The class template PQBasicKey is an abstract base class.
void setNodePointer(PQNode< T, X, Y > *pqNode)
The function setNodePointer() sets the private member m_nodePointer.
The namespace for all OGDF objects.
virtual Y userStructInternal()=0
Returns the information of any internal node.