QtGStreamer  0.10.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes
QGlib::ValueVTable Struct Reference

#include <value.h>

Collaboration diagram for QGlib::ValueVTable:
Collaboration graph

List of all members.

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: