Rudiments
|
Inherits collection.
Inherited by dynamicarray< valuetype >, and staticarray< valuetype, count >.
Public Member Functions | |
virtual const char * | getType () |
virtual valuetype & | operator[] (uint64_t index)=0 |
virtual ssize_t | write () |
virtual ssize_t | write (output *out) |
virtual ssize_t | writeJson () |
virtual ssize_t | writeJson (bool indent) |
virtual ssize_t | writeJson (output *out) |
virtual ssize_t | writeJson (output *out, bool indent) |
Public Member Functions inherited from collection | |
collection () | |
collection (collection &c) | |
collection & | operator= (collection &c) |
virtual | ~collection () |
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 |
Public Member Functions inherited from object | |
virtual | ~object () |
The arraycollection class is the parent class for all rudiments array collections.
|
inlinevirtual |
Returns "array".
Implements collection.
|
pure virtual |
Provides read/write access ot the "index"th element of the array.
Implemented in staticarray< valuetype, count >, and dynamicarray< valuetype >.
|
inlinevirtual |
Writes a representation of the arraycollection to standard output.
Implements collection.
|
inlinevirtual |
Writes a representation of the arraycollection to "out".
Implements collection.
|
inlinevirtual |
Writes a JSON representation of the arraycollection to standard output.
Implements collection.
|
inlinevirtual |
Writes a JSON representation of the arraycollection to standard output.
If "indent" is true, then the output is automatically indented. If "indent" is false, then the tree is written without indentation.
Implements collection.
|
inlinevirtual |
Writes a JSON representation of the arraycollection to "out".
Implements collection.
|
inlinevirtual |
Writes a JSON representation of the arraycollection to "out".
If "indent" is true, then the output is automatically indented. If "indent" is false, then the tree is written without indentation.
Implements collection.