4#ifndef RUDIMENTS_TREECOLLECTION_H
5#define RUDIMENTS_TREECOLLECTION_H
7#include <rudiments/nodecollection.h>
11template <
class valuetype>
51 #include <rudiments/private/treenode.h>
56template <
class valuetype>
158 virtual ssize_t
write();
197 virtual ssize_t
writeXml(
bool indent);
211 #include <rudiments/private/treecollection.h>
214#include <rudiments/private/treecollectioninlines.h>
Definition nodecollection.h:31
Definition nodecollection.h:12
Definition treecollection.h:57
treecollection()
Definition treecollectioninlines.h:6
virtual treenode< valuetype > * getPrevious(treenode< valuetype > *node)=0
virtual treenode< valuetype > * find(valuetype value)=0
virtual bool remove(valuetype value)=0
virtual bool removeAll(valuetype value)=0
virtual ssize_t writeXml()
Definition treecollectioninlines.h:69
virtual void insert(valuetype value)=0
virtual treenode< valuetype > * find(treenode< valuetype > *startnode, valuetype value)=0
virtual ssize_t writeJson()
Definition treecollectioninlines.h:44
virtual treenode< valuetype > * getTop()=0
virtual treenode< valuetype > * detach(treenode< valuetype > *node)=0
virtual void insert(treenode< valuetype > *node)=0
virtual bool remove(treenode< valuetype > *node)=0
virtual treenode< valuetype > * getNext(treenode< valuetype > *node)=0
virtual treenode< valuetype > * getFirst()=0
virtual treenode< valuetype > * getLast()=0
virtual ssize_t write()
Definition treecollectioninlines.h:31
virtual const char * getType()
Definition treecollectioninlines.h:17
Definition treecollection.h:12
virtual valuetype & getReference()=0
virtual treenode< valuetype > * getPrevious()=0
virtual uint8_t getRightHeight()=0
virtual treenode< valuetype > * getLeftChild()=0
virtual void setValue(valuetype value)=0
virtual valuetype getValue()=0
virtual treenode< valuetype > * getParent()=0
virtual treenode< valuetype > * getNext()=0
virtual uint8_t getLeftHeight()=0
virtual treenode< valuetype > * getRightChild()=0