4#ifndef RUDIMENTS_LISTCOLLECTION_H
5#define RUDIMENTS_LISTCOLLECTION_H
7#include <rudiments/nodecollection.h>
11template <
class valuetype>
31 #include <rudiments/private/listnode.h>
36template <
class valuetype>
55 virtual void prepend(valuetype *values, uint64_t count);
63 virtual void append(valuetype value)=0;
67 virtual void append(valuetype *values, uint64_t count);
82 valuetype *values, uint64_t count);
98 valuetype *values, uint64_t count);
208 virtual ssize_t
write();
238#include <rudiments/private/listcollectioninlines.h>
Definition listcollection.h:37
virtual bool remove(listnode< valuetype > *node)=0
virtual void prepend(valuetype value)=0
virtual void append(listnode< valuetype > *node)=0
virtual ssize_t write()
Definition listcollectioninlines.h:57
virtual listnode< valuetype > * getFirst()=0
virtual listnode< valuetype > * find(listnode< valuetype > *startnode, valuetype value)=0
virtual void detach(listnode< valuetype > *node)=0
virtual void insertBefore(listnode< valuetype > *node, listnode< valuetype > *newnode)=0
virtual void insertBefore(listnode< valuetype > *node, valuetype value)=0
virtual bool remove(valuetype value)=0
virtual void prepend(listnode< valuetype > *node)=0
virtual void insertAfter(listnode< valuetype > *node, listnode< valuetype > *newnode)=0
virtual ssize_t writeJson()
Definition listcollectioninlines.h:69
virtual void insertAfter(listnode< valuetype > *node, valuetype value)=0
virtual void sortQuickly()=0
virtual void sortInexpensively()=0
virtual void moveAfter(listnode< valuetype > *node, listnode< valuetype > *nodetomove)=0
virtual void moveBefore(listnode< valuetype > *node, listnode< valuetype > *nodetomove)=0
virtual void append(valuetype value)=0
virtual bool removeAll(valuetype value)=0
listcollection()
Definition listcollectioninlines.h:6
virtual listnode< valuetype > * getNext(listnode< valuetype > *node)=0
virtual const char * getType()
Definition listcollectioninlines.h:17
virtual listnode< valuetype > * find(valuetype value)=0
Definition listcollection.h:12
virtual listnode< valuetype > * getPrevious()=0
virtual valuetype & getReference()=0
virtual void setValue(valuetype value)=0
virtual listnode< valuetype > * getNext()=0
virtual valuetype getValue()=0
Definition nodecollection.h:31
Definition nodecollection.h:12