QtGStreamer 1.2.0
|
#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 |
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().
typedef void(* QGlib::ValueVTable::SetFunction) (Value &value, const void *data) |
typedef void(* QGlib::ValueVTable::GetFunction) (const Value &value, void *data) |
|
inline |