#include <value.h>
Public Types |
typedef void(* | SetFunction )(Value &value, const void *data) |
typedef void(* | GetFunction )(const Value &value, void *data) |
Public Member Functions |
| ValueVTable (SetFunction s, GetFunction g) |
Public Attributes |
SetFunction | set |
GetFunction | get |
Detailed Description
This structure holds the set and get methods that are used internally by Value to handle data of a specific type. If you want to provide support for a custom type, you need to write two such methods, create a new ValueVTable instance that holds pointers to them and register it using Value::registerValueVTable().
- See Also
- Value Design
Definition at line 41 of file value.h.
The documentation for this struct was generated from the following file: