Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
QGstStructureView toStructure () const
QGstCaps toCaps () const
bool isList () const
int listSize () const
QGValue at (int index) const
QList< QAudioFormat::SampleFormatgetSampleFormats () const

Public Attributes

const GValue * value

Detailed Description

Definition at line 261 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGValue()

QGValue::QGValue ( const GValue * v)
explicit

Definition at line 74 of file qgst.cpp.

Member Function Documentation

◆ at()

QGValue QGValue::at ( int index) const

Definition at line 155 of file qgst.cpp.

◆ getFraction()

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

Definition at line 107 of file qgst.cpp.

◆ getFractionRange()

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

Definition at line 115 of file qgst.cpp.

◆ getPointer()

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

Definition at line 273 of file qgst_p.h.

◆ getSampleFormats()

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

Definition at line 100 of file qgstutils.cpp.

References toString().

Here is the call graph for this function:

◆ isList()

bool QGValue::isList ( ) const

Definition at line 145 of file qgst.cpp.

◆ isNull()

bool QGValue::isNull ( ) const

Definition at line 76 of file qgst.cpp.

Referenced by QGstStructureView::tags().

Here is the caller graph for this function:

◆ listSize()

int QGValue::listSize ( ) const

Definition at line 150 of file qgst.cpp.

◆ toBool()

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

Definition at line 81 of file qgst.cpp.

◆ toCaps()

QGstCaps QGValue::toCaps ( ) const

Definition at line 138 of file qgst.cpp.

Referenced by QGstStructureView::caps().

Here is the caller graph for this function:

◆ toInt()

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

Definition at line 88 of file qgst.cpp.

◆ toInt64()

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

Definition at line 95 of file qgst.cpp.

◆ toIntRange()

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

Definition at line 124 of file qgst.cpp.

◆ toString()

const char * QGValue::toString ( ) const

Definition at line 102 of file qgst.cpp.

Referenced by QGstreamerFormatInfo::fileFormatForCaps(), and getSampleFormats().

Here is the caller graph for this function:

◆ toStructure()

QGstStructureView QGValue::toStructure ( ) const

Definition at line 131 of file qgst.cpp.

Member Data Documentation

◆ value

const GValue* QGValue::value

Definition at line 265 of file qgst_p.h.


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