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
qcborstreamwriter.cpp File Reference

(cd4813a3c304a6d9d5d8096d91a8fc297818d624)

#include "qcborstreamwriter.h"
#include <private/qcborcommon_p.h>
#include <private/qnumeric_p.h>
#include <private/qstringconverter_p.h>
#include <qbuffer.h>
#include <qdebug.h>
#include <qstack.h>
#include <qvarlengtharray.h>
#include <cborencoder.c>
Include dependency graph for qcborstreamwriter.cpp:

Go to the source code of this file.

Classes

class  QCborStreamWriterPrivate

Macros

#define CBOR_NO_PARSER_API
#define CBOR_ENCODER_WRITER_CONTROL   1
#define CBOR_ENCODER_WRITE_FUNCTION   qt_cbor_encoder_write_callback
#define CBOR_ENCODER_NO_CHECK_USER

Functions

static QT_BEGIN_NAMESPACE CborError qt_cbor_encoder_write_callback (void *token, const void *data, size_t len, CborEncoderAppendType)
QT_WARNING_PUSH static QT_WARNING_POP CborError cbor_encoder_close_container_checked (CborEncoder *, const CborEncoder *)
static CborError cbor_encode_float_as_half_float (CborEncoder *, float)
 Q_DECLARE_TYPEINFO (CborEncoder, Q_PRIMITIVE_TYPE)

Macro Definition Documentation

◆ CBOR_ENCODER_NO_CHECK_USER

#define CBOR_ENCODER_NO_CHECK_USER

Definition at line 22 of file qcborstreamwriter.cpp.

◆ CBOR_ENCODER_WRITE_FUNCTION

#define CBOR_ENCODER_WRITE_FUNCTION   qt_cbor_encoder_write_callback

Definition at line 21 of file qcborstreamwriter.cpp.

◆ CBOR_ENCODER_WRITER_CONTROL

#define CBOR_ENCODER_WRITER_CONTROL   1

Definition at line 20 of file qcborstreamwriter.cpp.

◆ CBOR_NO_PARSER_API

#define CBOR_NO_PARSER_API

Definition at line 7 of file qcborstreamwriter.cpp.

Function Documentation

◆ cbor_encode_float_as_half_float()

CborError cbor_encode_float_as_half_float ( CborEncoder * ,
float  )
static

Definition at line 38 of file qcborstreamwriter.cpp.

◆ cbor_encoder_close_container_checked()

QT_WARNING_PUSH static QT_WARNING_POP CborError cbor_encoder_close_container_checked ( CborEncoder * ,
const CborEncoder *  )
static

Definition at line 33 of file qcborstreamwriter.cpp.

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( CborEncoder ,
Q_PRIMITIVE_TYPE  )

◆ qt_cbor_encoder_write_callback()

CborError qt_cbor_encoder_write_callback ( void * token,
const void * data,
size_t len,
CborEncoderAppendType  )
static

Definition at line 250 of file qcborstreamwriter.cpp.

References QCborStreamWriterPrivate::device.