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
QtCbor::Element Struct Reference

#include <qcborvalue_p.h>

Collaboration diagram for QtCbor::Element:

Classes

union  [union].__unnamed0__

Public Types

enum  ValueFlag : quint32 { IsContainer = 0x0001 , HasByteData = 0x0002 , StringIsUtf16 = 0x0004 , StringIsAscii = 0x0008 }

Public Member Functions

 Element (qint64 vv=0, QCborValue::Type tt=QCborValue::Undefined, ValueFlags ff={})
 Element (QCborContainerPrivate *d, QCborValue::Type tt, ValueFlags ff={})
double fpvalue () const

Public Attributes

union  
QCborValue::Type type
ValueFlags flags = {}

Detailed Description

Definition at line 39 of file qcborvalue_p.h.

Member Enumeration Documentation

◆ ValueFlag

enum QtCbor::Element::ValueFlag : quint32
Enumerator
IsContainer 
HasByteData 
StringIsUtf16 
StringIsAscii 

Definition at line 41 of file qcborvalue_p.h.

Constructor & Destructor Documentation

◆ Element() [1/2]

QtCbor::Element::Element ( qint64 v = 0,
QCborValue::Type t = QCborValue::Undefined,
ValueFlags f = {} )
inline

Definition at line 56 of file qcborvalue_p.h.

◆ Element() [2/2]

QtCbor::Element::Element ( QCborContainerPrivate * d,
QCborValue::Type t,
ValueFlags f = {} )
inline

Definition at line 60 of file qcborvalue_p.h.

Member Function Documentation

◆ fpvalue()

double QtCbor::Element::fpvalue ( ) const
inline

Definition at line 64 of file qcborvalue_p.h.

Referenced by QCborValueConstRef::concreteDouble(), and QCborValueConstRef::concreteIntegral().

Here is the caller graph for this function:

Member Data Documentation

◆ @247102311333377317327107337244117130121211007140

◆ flags

ValueFlags QtCbor::Element::flags = {}

Definition at line 54 of file qcborvalue_p.h.

◆ type

QCborValue::Type QtCbor::Element::type

Definition at line 53 of file qcborvalue_p.h.


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