Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QGValue Class Reference

#include <qgst_p.h>

+ Collaboration diagram for QGValue:

Public Member Functions

 QGValue (const GValue *v)
 
bool isNull () const
 
std::optional< bool > toBool () const
 
std::optional< int > toInt () const
 
std::optional< int > toInt64 () const
 
template<typename T >
T * getPointer () const
 
const char * toString () const
 
std::optional< float > getFraction () const
 
std::optional< QGRange< float > > getFractionRange () const
 
std::optional< QGRange< int > > toIntRange () const
 
QGstStructure toStructure () const
 
QGstCaps toCaps () const
 
bool isList () const
 
int listSize () const
 
QGValue at (int index) const
 
Q_MULTIMEDIA_EXPORT QList< QAudioFormat::SampleFormatgetSampleFormats () const
 

Public Attributes

const GValue * value
 

Detailed Description

Definition at line 64 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGValue()

QGValue::QGValue ( const GValue *  v)
inline

Definition at line 67 of file qgst_p.h.

Member Function Documentation

◆ at()

QGValue QGValue::at ( int  index) const
inline

Definition at line 128 of file qgst_p.h.

◆ getFraction()

std::optional< float > QGValue::getFraction ( ) const
inline

Definition at line 100 of file qgst_p.h.

Referenced by getFractionRange().

+ Here is the caller graph for this function:

◆ getFractionRange()

std::optional< QGRange< float > > QGValue::getFractionRange ( ) const
inline

Definition at line 107 of file qgst_p.h.

References getFraction().

+ Here is the call graph for this function:

◆ getPointer()

template<typename T >
T * QGValue::getPointer ( ) const
inline

Definition at line 91 of file qgst_p.h.

◆ getSampleFormats()

QList< QAudioFormat::SampleFormat > QGValue::getSampleFormats ( ) const

Definition at line 116 of file qgstutils.cpp.

References fmt, and QAudioFormat::Unknown.

◆ isList()

bool QGValue::isList ( ) const
inline

Definition at line 126 of file qgst_p.h.

◆ isNull()

bool QGValue::isNull ( ) const
inline

Definition at line 70 of file qgst_p.h.

References value.

◆ listSize()

int QGValue::listSize ( ) const
inline

Definition at line 127 of file qgst_p.h.

◆ toBool()

std::optional< bool > QGValue::toBool ( ) const
inline

Definition at line 72 of file qgst_p.h.

◆ toCaps()

QGstCaps QGValue::toCaps ( ) const
inline

Definition at line 583 of file qgst_p.h.

References QGstCaps::HasRef.

◆ toInt()

std::optional< int > QGValue::toInt ( ) const
inline

Definition at line 78 of file qgst_p.h.

◆ toInt64()

std::optional< int > QGValue::toInt64 ( ) const
inline

Definition at line 84 of file qgst_p.h.

◆ toIntRange()

std::optional< QGRange< int > > QGValue::toIntRange ( ) const
inline

Definition at line 116 of file qgst_p.h.

◆ toString()

const char * QGValue::toString ( ) const
inline

Definition at line 96 of file qgst_p.h.

◆ toStructure()

QGstStructure QGValue::toStructure ( ) const
inline

Definition at line 576 of file qgst_p.h.

Member Data Documentation

◆ value

const GValue* QGValue::value

Definition at line 68 of file qgst_p.h.

Referenced by isNull().


The documentation for this class was generated from the following files: