QtGStreamer  1.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Public Attributes | List of all members
QGlib::ValueVTable Struct Reference

#include <value.h>

Collaboration diagram for QGlib::ValueVTable:
Collaboration graph
[legend]

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 42 of file value.h.


The documentation for this struct was generated from the following file: