|
template<class... Args> |
| RESTProcessValueAssociativeContainer (Args &&... args) |
| RESTProcessAssociativeContainer (T &obj) |
RPPtr | process (const string &remainder, const REST_PROCESS_BUFFER &arguments) override |
std::vector< Signature > | signature () const override |
| return signature(s) of the operations
|
RESTProcess_t | list () const override |
| return list of subcommands to this
|
std::string | type () const override |
| return type name of this
|
REST_PROCESS_BUFFER | asBuffer () const override |
bool | isObject () const override |
RPPtr | getElem (const REST_PROCESS_BUFFER &index) override |
| get element by position for sequences, by key for associative containers
|
RPPtr | setElem (const REST_PROCESS_BUFFER &index, const REST_PROCESS_BUFFER &value) override |
size_t | size () const override |
| size if this is a container, 0 otherwise
|
void | insert (const REST_PROCESS_BUFFER &value) override |
| append to end of a sequence, or inserts key into an associative container
|
void | erase (const REST_PROCESS_BUFFER &index) override |
| erase an element - by position for sequences, by key for associative containers
|
bool | contains (const REST_PROCESS_BUFFER &index) const override |
| returns true if an associative container contains key
|
RPPtr | keys () const override |
| returns a list of keys if this is an associative container, otherwise void
|
virtual void | populate (RESTProcess_t &map) const |
| populate map from the object wrapped by this, if any
|
template<class F> |
Signature | functionSignature () const |
| return signature for a function type F
|
template<class T> |
T * | getObject () |
| returns a pointer to the underlying object if it is one of type T, otherwise null
|
virtual bool | isConst () const |
| true if this is a const object, a const member function or static/free function
|
virtual unsigned | arity () const |
| arity if this is a function, 0 otherwise
|
virtual object * | getClassdescObject () |
| returns a classdesc object if referring to an object derived from classdesc::object
|
virtual const object * | getConstClassdescObject () |