The dictionary is a data structure that stores a mapping from a fixed set of keys to a their modifiable values.
More...
|
virtual bool | set (const char *key, bool value)=0 |
| Sets the value of the given key to the given value . More...
|
|
virtual bool | set (const char *key, const char *value)=0 |
| Sets the value of the given key to the given value . More...
|
|
virtual bool | set (const char *key, Uint32 value)=0 |
| Sets the value of the given key to the given value . More...
|
|
virtual bool | set (const char *key, Sint32 value)=0 |
| Sets the value of the given key to the given value . More...
|
|
virtual bool | set (const char *key, Float32 value)=0 |
| Sets the value of the given key to the given value . More...
|
|
virtual bool | set (const char *key, Float64 value)=0 |
| Sets the value of the given key to the given value . More...
|
|
virtual bool | is_defined (const char *key) const =0 |
| Returns true if and only if the given key exists. More...
|
|
virtual const char * | get (const char *key, const char *default_value) const =0 |
| Returns the value for the given key . More...
|
|
virtual bool | get (const char *key, bool default_value) const =0 |
| Returns the value for the given key . More...
|
|
virtual Sint32 | get (const char *key, Sint32 default_value) const =0 |
| Returns the value for the given key . More...
|
|
virtual Uint32 | get (const char *key, Uint32 default_value) const =0 |
| Returns the value for the given key . More...
|
|
virtual Float32 | get (const char *key, Float32 default_value) const =0 |
| Returns the value for the given key . More...
|
|
virtual Float64 | get (const char *key, Float64 default_value) const =0 |
| Returns the value for the given key . More...
|
|
virtual bool | is_invalid () const =0 |
| Returns the invalidity flag of the dictionary. More...
|
|
virtual Uint32 | retain () const =0 |
| Increments the reference count. More...
|
|
virtual Uint32 | release () const =0 |
| Decrements the reference count. More...
|
|
virtual const IInterface * | get_interface (const Uuid &interface_id) const =0 |
| Acquires a const interface from another. More...
|
|
template<class T> |
const T * | get_interface () const |
| Acquires a const interface from another. More...
|
|
virtual IInterface * | get_interface (const Uuid &interface_id)=0 |
| Acquires a mutable interface from another. More...
|
|
template<class T> |
T * | get_interface () |
| Acquires a mutable interface from another. More...
|
|
virtual Uuid | get_iid () const =0 |
| Returns the interface ID of the most derived interface. More...
|
|
|
using | Self = Interface_declare< id1, ... > |
| Own type. More...
|
|
using | IID = Uuid_t< id1, ... > |
| Declares the interface ID (IID) of this interface. More...
|
|
using | IID = Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> |
| Declares the interface ID (IID) of this interface. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface. More...
|
|
The dictionary is a data structure that stores a mapping from a fixed set of keys to a their modifiable values.
A key is represented as a string. The dictionary stores a value associated with a key. Such dictionaries are used to specify optional behavior of algorithms and data structures and for returning algorithm statistics.
The type of the dictionary values are from the set
This data structure supports the lookup and the change of dictionary values. It does not support the manipulation of the keys itself. The intended use of this class is to obtain a default set of options from the API, e.g., all functors offer an mi::neuraylib::IFunctor_base::get_default_options() constmember function, and change the existing default values before passing the options to the algorithm or data structure.