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

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)
 
collectionoperator= (collection &c)
 
virtual ~collection ()
 
virtual const char * getType ()=0
 
virtual uint64_t getCount ()=0
 
comparatorgetComparator ()
 
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 ()
 

Detailed Description

template<class valuetype>
class nodecollection< valuetype >

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

Member Function Documentation

◆ getFirst()

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