Rudiments
|
Inherits collection.
Inherited by listcollection< valuetype >, and treecollection< valuetype >.
Public Member Functions | |
virtual nodecollectionnode< valuetype > * | getFirst ()=0 |
Public Member Functions inherited from collection | |
collection () | |
collection (collection &c) | |
collection & | operator= (collection &c) |
virtual | ~collection () |
virtual const char * | getType ()=0 |
virtual uint64_t | getCount ()=0 |
comparator * | getComparator () |
void | setComparator (comparator *newcomp) |
virtual bool | isReadOnly () |
virtual bool | isBlockBased () |
virtual uint64_t | getBlockSize () |
virtual bool | isSequentialAccess () |
virtual void | setManageValues (bool manage) |
virtual bool | getManageValues () |
virtual void | setManageArrayValues (bool manage) |
virtual bool | getManageArrayValues () |
virtual void | setManageKeys (bool manage) |
virtual bool | getManageKeys () |
virtual void | setManageArrayKeys (bool manage) |
virtual bool | getManageArrayKeys () |
virtual bool | clear ()=0 |
virtual ssize_t | write ()=0 |
virtual ssize_t | write (output *out)=0 |
virtual ssize_t | writeJson ()=0 |
virtual ssize_t | writeJson (bool indent)=0 |
virtual ssize_t | writeJson (output *out)=0 |
virtual ssize_t | writeJson (output *out, bool indent)=0 |
Public Member Functions inherited from object | |
virtual | ~object () |
The collection class is the parent class for all rudiments node-based collections.
|
pure virtual |
Returns the first node in the nodecollection.
Implemented in treecollection< valuetype >, listcollection< valuetype >, singlylinkedlist< valuetype >, linkedlist< valuetype >, and avltree< valuetype >.