QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
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.
 
 QgsWkbPtr (unsigned char *p, int size)
 
 operator unsigned char * () const
 
void operator+= (int n) const
 
QgsWkbPtroperator<< (char v)
 Writes a char to the pointer.
 
QgsWkbPtroperator<< (const QByteArray &data)
 Append data from a byte array.
 
QgsWkbPtroperator<< (double v)
 Writes a double to the pointer.
 
QgsWkbPtroperator<< (float r)
 Writes a float to the pointer.
 
QgsWkbPtroperator<< (Qgis::WkbType v)
 Writes a WKB type value to the pointer.
 
QgsWkbPtroperator<< (qint32 v)
 Writes an int to the pointer.
 
QgsWkbPtroperator<< (qint64 r)
 Writes a longlong as int to the pointer.
 
QgsWkbPtroperator<< (quint32 v)
 Writes an unsigned int to the pointer.
 
const QgsWkbPtroperator>> (char &v) const
 Reads an char value.
 
const QgsWkbPtroperator>> (double &v) const
 
const QgsWkbPtroperator>> (float &r) const
 
const QgsWkbPtroperator>> (Qgis::WkbType &v) const
 Reads a Qgis::WkbType enum value.
 
const QgsWkbPtroperator>> (qint32 &v) const
 Reads an integer value into a qint32.
 
const QgsWkbPtroperator>> (qint64 &r) const
 Reads an integer value into a longlong.
 
const QgsWkbPtroperator>> (quint32 &v) const
 Reads an unsigned integer value.
 
int remaining () const
 remaining
 
int size () const
 size
 
int writtenSize () const
 writtenSize
 

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 110 of file qgswkbptr.h.

◆ operator+=()

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

Definition at line 108 of file qgswkbptr.h.

◆ operator<<() [1/8]

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

Writes a char to the pointer.

Definition at line 102 of file qgswkbptr.h.

◆ operator<<() [2/8]

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

Append data from a byte array.

Definition at line 106 of file qgswkbptr.h.

◆ operator<<() [3/8]

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

Writes a double to the pointer.

Definition at line 92 of file qgswkbptr.h.

◆ operator<<() [4/8]

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

Writes a float to the pointer.

Definition at line 94 of file qgswkbptr.h.

◆ operator<<() [5/8]

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

Writes a WKB type value to the pointer.

Definition at line 104 of file qgswkbptr.h.

◆ operator<<() [6/8]

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

Writes an int to the pointer.

Definition at line 96 of file qgswkbptr.h.

◆ operator<<() [7/8]

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

Writes a longlong as int to the pointer.

Definition at line 98 of file qgswkbptr.h.

◆ operator<<() [8/8]

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

Writes an unsigned int to the pointer.

Definition at line 100 of file qgswkbptr.h.

◆ operator>>() [1/7]

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

Reads an char value.

Definition at line 87 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>> ( Qgis::WkbType v) const
inline

Reads a Qgis::WkbType enum value.

Definition at line 89 of file qgswkbptr.h.

◆ operator>>() [5/7]

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

Reads an integer value into a qint32.

Definition at line 81 of file qgswkbptr.h.

◆ operator>>() [6/7]

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

Reads an integer value into a longlong.

Definition at line 83 of file qgswkbptr.h.

◆ operator>>() [7/7]

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

Reads an unsigned integer value.

Definition at line 85 of file qgswkbptr.h.

◆ remaining()

int QgsWkbPtr::remaining ( ) const
inline

remaining

Note
not available in Python bindings

Definition at line 122 of file qgswkbptr.h.

◆ size()

int QgsWkbPtr::size ( ) const
inline

size

Note
not available in Python bindings

Definition at line 116 of file qgswkbptr.h.

◆ writtenSize()

int QgsWkbPtr::writtenSize ( ) const
inline

writtenSize

Note
not available in Python bindings

Definition at line 128 of file qgswkbptr.h.


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