QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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<< (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<< (unsigned int v)
 Writes an unsigned int to the pointer. More...
 
QgsWkbPtroperator<< (char v)
 Writes a char to the pointer. More...
 
QgsWkbPtroperator<< (QgsWkbTypes::Type v)
 Writes a WKB type value to the pointer. More...
 
QgsWkbPtroperator<< (const QByteArray &data)
 Append data from a byte array. More...
 
const QgsWkbPtroperator>> (double &v) const
 
const QgsWkbPtroperator>> (float &r) const
 
const QgsWkbPtroperator>> (int &v) const
 
const QgsWkbPtroperator>> (unsigned int &v) const
 
const QgsWkbPtroperator>> (char &v) const
 
const QgsWkbPtroperator>> (QgsWkbTypes::Type &v) const
 
int remaining () const
 remaining More...
 
int size () const
 size More...
 
int writtenSize () const
 writtenSize More...
 

Detailed Description

Definition at line 43 of file qgswkbptr.h.

Constructor & Destructor Documentation

QgsWkbPtr::QgsWkbPtr ( QByteArray &  wkb)

Construct WKB pointer from QByteArray.

Definition at line 17 of file qgswkbptr.cpp.

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

Definition at line 24 of file qgswkbptr.cpp.

Member Function Documentation

QgsWkbPtr::operator unsigned char * ( ) const
inline

Definition at line 102 of file qgswkbptr.h.

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

Definition at line 100 of file qgswkbptr.h.

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

Writes a double to the pointer.

Definition at line 86 of file qgswkbptr.h.

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

Writes a float to the pointer.

Definition at line 88 of file qgswkbptr.h.

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

Writes an int to the pointer.

Definition at line 90 of file qgswkbptr.h.

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

Writes an unsigned int to the pointer.

Definition at line 92 of file qgswkbptr.h.

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

Writes a char to the pointer.

Definition at line 94 of file qgswkbptr.h.

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

Writes a WKB type value to the pointer.

Definition at line 96 of file qgswkbptr.h.

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

Append data from a byte array.

Definition at line 98 of file qgswkbptr.h.

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

Definition at line 78 of file qgswkbptr.h.

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

Definition at line 79 of file qgswkbptr.h.

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

Definition at line 80 of file qgswkbptr.h.

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

Definition at line 81 of file qgswkbptr.h.

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

Definition at line 82 of file qgswkbptr.h.

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

Definition at line 83 of file qgswkbptr.h.

int QgsWkbPtr::remaining ( ) const
inline

remaining

Note
note available in Python bindings

Definition at line 114 of file qgswkbptr.h.

int QgsWkbPtr::size ( ) const
inline

size

Note
note available in Python bindings

Definition at line 108 of file qgswkbptr.h.

int QgsWkbPtr::writtenSize ( ) const
inline

writtenSize

Note
note available in Python bindings

Definition at line 120 of file qgswkbptr.h.


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