QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | List of all members
QgsWkbPtr Class Reference

#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)
 
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<< (QgsWkbTypes::Type v)
 Writes a WKB type value to the pointer. More...
 
QgsWkbPtroperator<< (unsigned int v)
 Writes an unsigned int to the pointer. More...
 
const QgsWkbPtroperator>> (char &v) const
 
const QgsWkbPtroperator>> (double &v) const
 
const QgsWkbPtroperator>> (float &r) const
 
const QgsWkbPtroperator>> (int &v) const
 
const QgsWkbPtroperator>> (QgsWkbTypes::Type &v) const
 
const QgsWkbPtroperator>> (unsigned int &v) const
 
int remaining () const
 remaining More...
 
int size () const
 size More...
 
int writtenSize () const
 writtenSize More...
 

Detailed Description

Definition at line 42 of file qgswkbptr.h.

Constructor & Destructor Documentation

◆ QgsWkbPtr() [1/2]

QgsWkbPtr::QgsWkbPtr ( QByteArray &  wkb)

Construct WKB pointer from QByteArray.

Definition at line 18 of file qgswkbptr.cpp.

◆ QgsWkbPtr() [2/2]

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

Definition at line 25 of file qgswkbptr.cpp.

Member Function Documentation

◆ operator unsigned char *()

QgsWkbPtr::operator unsigned char * ( ) const
inline

Definition at line 101 of file qgswkbptr.h.

◆ operator+=()

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

Definition at line 99 of file qgswkbptr.h.

◆ operator<<() [1/7]

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

Writes a char to the pointer.

Definition at line 93 of file qgswkbptr.h.

◆ operator<<() [2/7]

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

Append data from a byte array.

Definition at line 97 of file qgswkbptr.h.

◆ operator<<() [3/7]

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

Writes a double to the pointer.

Definition at line 85 of file qgswkbptr.h.

◆ operator<<() [4/7]

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

Writes a float to the pointer.

Definition at line 87 of file qgswkbptr.h.

◆ operator<<() [5/7]

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

Writes an int to the pointer.

Definition at line 89 of file qgswkbptr.h.

◆ operator<<() [6/7]

QgsWkbPtr& QgsWkbPtr::operator<< ( QgsWkbTypes::Type  v)
inline

Writes a WKB type value to the pointer.

Definition at line 95 of file qgswkbptr.h.

◆ operator<<() [7/7]

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

Writes an unsigned int to the pointer.

Definition at line 91 of file qgswkbptr.h.

◆ operator>>() [1/6]

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

Definition at line 81 of file qgswkbptr.h.

◆ operator>>() [2/6]

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

Definition at line 77 of file qgswkbptr.h.

◆ operator>>() [3/6]

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

Definition at line 78 of file qgswkbptr.h.

◆ operator>>() [4/6]

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

Definition at line 79 of file qgswkbptr.h.

◆ operator>>() [5/6]

const QgsWkbPtr& QgsWkbPtr::operator>> ( QgsWkbTypes::Type v) const
inline

Definition at line 82 of file qgswkbptr.h.

◆ operator>>() [6/6]

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

Definition at line 80 of file qgswkbptr.h.

◆ remaining()

int QgsWkbPtr::remaining ( ) const
inline

remaining

Note
not available in Python bindings

Definition at line 113 of file qgswkbptr.h.

◆ size()

int QgsWkbPtr::size ( ) const
inline

size

Note
not available in Python bindings

Definition at line 107 of file qgswkbptr.h.

◆ writtenSize()

int QgsWkbPtr::writtenSize ( ) const
inline

writtenSize

Note
not available in Python bindings

Definition at line 119 of file qgswkbptr.h.


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