QtGStreamer 1.2.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
QGlib::ValueImpl< T > Struct Template Reference

#include <value.h>

Static Public Member Functions

static T get (const Value &value)
 
static void set (Value &value, const T &data)
 

Detailed Description

template<typename T>
struct QGlib::ValueImpl< T >

This struct provides the implementation for the Value::get() and Value::set() methods. If you want to provide support for a custom type, you may want to provide a template specialization of this class to handle your type in a different way than the default implementation. You should normally not need to be concerned at all with this.

Note
this struct is declared as friend in Value and as a result it has access to Value::setData() and Value::getData()
See also
Value Design

Definition at line 285 of file value.h.

Member Function Documentation

◆ get()

template<typename T >
T QGlib::ValueImpl< T >::get ( const Value value)
inlinestatic

Definition at line 339 of file value.h.

◆ set()

template<typename T >
void QGlib::ValueImpl< T >::set ( Value value,
const T &  data 
)
inlinestatic

Definition at line 352 of file value.h.


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