Rudiments
Public Member Functions | List of all members
nodecollectionnode< valuetype > Class Template Referenceabstract

Inherits object.

Inherited by listnode< valuetype >, and treenode< valuetype >.

Public Member Functions

virtual void setValue (valuetype value)=0
 
virtual valuetype getValue ()=0
 
virtual valuetype & getReference ()=0
 
virtual nodecollectionnode< valuetype > * getNext ()=0
 
- Public Member Functions inherited from object
virtual ~object ()
 

Detailed Description

template<class valuetype>
class nodecollectionnode< valuetype >

The node class is the parent class for the node contained by all rudiments node-based collections.

Member Function Documentation

◆ getNext()

template<class valuetype >
virtual nodecollectionnode<valuetype>* nodecollectionnode< valuetype >::getNext ( )
pure virtual

Returns the next node in the nodecollection or NULL if this node is the last node in the collection.

Implemented in treenode< valuetype >, listnode< valuetype >, singlylinkedlistnode< valuetype >, linkedlistnode< valuetype >, and avltreenode< valuetype >.

◆ getReference()

template<class valuetype >
virtual valuetype& nodecollectionnode< valuetype >::getReference ( )
pure virtual

◆ getValue()

template<class valuetype >
virtual valuetype nodecollectionnode< valuetype >::getValue ( )
pure virtual

◆ setValue()

template<class valuetype >
virtual void nodecollectionnode< valuetype >::setValue ( valuetype  value)
pure virtual