Rudiments
|
Inherits collection.
Inherited by scalar< valuetype >.
Public Member Functions | |
virtual const char * | getType () |
virtual uint64_t | getCount () |
virtual void | setValue (valuetype v)=0 |
virtual valuetype | getValue ()=0 |
virtual valuetype & | getReference ()=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 () |
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 scalarcollection class is the parent class for all rudiments scalar collections.
|
inlinevirtual |
Returns 1.
Implements collection.
|
pure virtual |
Returns a reference to the value stored in this instance.
Implemented in scalar< valuetype >.
|
inlinevirtual |
Returns "scalar".
Implements collection.
|
pure virtual |
Returns the value stored in this instance. Returns NULL or 0 if no value has been stored.
Implemented in scalar< valuetype >.
|
pure virtual |
Sets the value stored in this instance to "v".
Implemented in scalar< valuetype >.
|
inlinevirtual |
Writes a representation of the scalarcollection to standard output.
Implements collection.
|
inlinevirtual |
Writes a representation of the scalarcollection to "out".
Implements collection.
|
inlinevirtual |
Writes a JSON representation of the scalarcollection to standard output.
Implements collection.
|
inlinevirtual |
Writes a JSON representation of the scalarcollection 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 scalarcollection to "out".
Implements collection.
|
inlinevirtual |
Writes a JSON representation of the scalarcollection 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.