QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | List of all members
QgsWkbPtr Class Reference

WKB pointer handler. More...

#include <qgswkbptr.h>

Public Member Functions

 QgsWkbPtr (QByteArray &wkb)
 Construct WKB pointer from QByteArray. More...
 
 QgsWkbPtr (unsigned char *p, int size)
 
 operator unsigned char * () const
 
void operator+= (int n) const
 
QgsWkbPtroperator<< (char v)
 Writes a char to the pointer. More...
 
QgsWkbPtroperator<< (const QByteArray &data)
 Append data from a byte array. More...
 
QgsWkbPtroperator<< (double v)
 Writes a double to the pointer. More...
 
QgsWkbPtroperator<< (float r)
 Writes a float to the pointer. More...
 
QgsWkbPtroperator<< (int v)
 Writes an int to the pointer. More...
 
QgsWkbPtroperator<< (Qgis::WkbType v)
 Writes a WKB type value to the pointer. More...
 
QgsWkbPtroperator<< (qsizetype r)
 Writes a size as int to the pointer. More...
 
QgsWkbPtroperator<< (unsigned int v)
 Writes an unsigned int to the pointer. More...
 
const QgsWkbPtroperator>> (char &v) const
 Reads an char value. More...
 
const QgsWkbPtroperator>> (double &v) const
 
const QgsWkbPtroperator>> (float &r) const
 
const QgsWkbPtroperator>> (int &v) const
 
const QgsWkbPtroperator>> (Qgis::WkbType &v) const
 Reads a Qgis::WkbType enum value. More...
 
const QgsWkbPtroperator>> (qsizetype &r) const
 Reads an integer value into a qsizetype. More...
 
const QgsWkbPtroperator>> (unsigned int &v) const
 Reads an unsigned integer value. More...
 
int remaining () const
 remaining More...
 
int size () const
 size More...
 
int writtenSize () const
 writtenSize More...
 

Detailed Description

WKB pointer handler.

Definition at line 43 of file qgswkbptr.h.

Constructor & Destructor Documentation

◆ QgsWkbPtr() [1/2]

QgsWkbPtr::QgsWkbPtr ( QByteArray &  wkb)

Construct WKB pointer from QByteArray.

Definition at line 19 of file qgswkbptr.cpp.

◆ QgsWkbPtr() [2/2]

QgsWkbPtr::QgsWkbPtr ( unsigned char *  p,
int  size 
)

Definition at line 26 of file qgswkbptr.cpp.

Member Function Documentation

◆ operator unsigned char *()

QgsWkbPtr::operator unsigned char * ( ) const
inline

Definition at line 113 of file qgswkbptr.h.

◆ operator+=()

void QgsWkbPtr::operator+= ( int  n) const
inline

Definition at line 111 of file qgswkbptr.h.

◆ operator<<() [1/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( char  v)
inline

Writes a char to the pointer.

Definition at line 105 of file qgswkbptr.h.

◆ operator<<() [2/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( const QByteArray &  data)
inline

Append data from a byte array.

Definition at line 109 of file qgswkbptr.h.

◆ operator<<() [3/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( double  v)
inline

Writes a double to the pointer.

Definition at line 93 of file qgswkbptr.h.

◆ operator<<() [4/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( float  r)
inline

Writes a float to the pointer.

Definition at line 95 of file qgswkbptr.h.

◆ operator<<() [5/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( int  v)
inline

Writes an int to the pointer.

Definition at line 97 of file qgswkbptr.h.

◆ operator<<() [6/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( Qgis::WkbType  v)
inline

Writes a WKB type value to the pointer.

Definition at line 107 of file qgswkbptr.h.

◆ operator<<() [7/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( qsizetype  r)
inline

Writes a size as int to the pointer.

Definition at line 100 of file qgswkbptr.h.

◆ operator<<() [8/8]

QgsWkbPtr & QgsWkbPtr::operator<< ( unsigned int  v)
inline

Writes an unsigned int to the pointer.

Definition at line 103 of file qgswkbptr.h.

◆ operator>>() [1/7]

const QgsWkbPtr & QgsWkbPtr::operator>> ( char &  v) const
inline

Reads an char value.

Definition at line 88 of file qgswkbptr.h.

◆ operator>>() [2/7]

const QgsWkbPtr & QgsWkbPtr::operator>> ( double &  v) const
inline

Definition at line 78 of file qgswkbptr.h.

◆ operator>>() [3/7]

const QgsWkbPtr & QgsWkbPtr::operator>> ( float &  r) const
inline

Definition at line 79 of file qgswkbptr.h.

◆ operator>>() [4/7]

const QgsWkbPtr & QgsWkbPtr::operator>> ( int &  v) const
inline

Definition at line 80 of file qgswkbptr.h.

◆ operator>>() [5/7]

const QgsWkbPtr & QgsWkbPtr::operator>> ( Qgis::WkbType v) const
inline

Reads a Qgis::WkbType enum value.

Definition at line 90 of file qgswkbptr.h.

◆ operator>>() [6/7]

const QgsWkbPtr & QgsWkbPtr::operator>> ( qsizetype &  r) const
inline

Reads an integer value into a qsizetype.

Definition at line 83 of file qgswkbptr.h.

◆ operator>>() [7/7]

const QgsWkbPtr & QgsWkbPtr::operator>> ( unsigned int &  v) const
inline

Reads an unsigned integer value.

Definition at line 86 of file qgswkbptr.h.

◆ remaining()

int QgsWkbPtr::remaining ( ) const
inline

remaining

Note
not available in Python bindings

Definition at line 125 of file qgswkbptr.h.

◆ size()

int QgsWkbPtr::size ( ) const
inline

size

Note
not available in Python bindings

Definition at line 119 of file qgswkbptr.h.

◆ writtenSize()

int QgsWkbPtr::writtenSize ( ) const
inline

writtenSize

Note
not available in Python bindings

Definition at line 131 of file qgswkbptr.h.


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