QGIS API Documentation  2.15.0-Master (972fc9f)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QgsConstWkbPtr Class Reference

#include <qgswkbptr.h>

Inheritance diagram for QgsConstWkbPtr:
Inheritance graph
[legend]

Public Member Functions

 QgsConstWkbPtr (const unsigned char *p, int size)
 
 operator const unsigned char * () const
 
void operator+= (int n)
 
void operator-= (int n)
 
const QgsConstWkbPtroperator>> (double &v) const
 
const QgsConstWkbPtroperator>> (float &r) const
 
const QgsConstWkbPtroperator>> (int &v) const
 
const QgsConstWkbPtroperator>> (unsigned int &v) const
 
const QgsConstWkbPtroperator>> (char &v) const
 
virtual const QgsConstWkbPtroperator>> (QPointF &point) const
 Read a point. More...
 
virtual const QgsConstWkbPtroperator>> (QPolygonF &points) const
 Read a point array. More...
 
QgsWKBTypes::Type readHeader () const
 
int remaining () const
 

Protected Member Functions

template<typename T >
void read (T &v) const
 Read a value. More...
 
void verifyBound (int size) const
 Verify bounds. More...
 

Protected Attributes

unsigned char * mEnd
 
bool mEndianSwap
 
unsigned char * mP
 
QgsWKBTypes::Type mWkbType
 

Detailed Description

Note
not available in Python bindings

Definition at line 91 of file qgswkbptr.h.

Constructor & Destructor Documentation

QgsConstWkbPtr::QgsConstWkbPtr ( const unsigned char *  p,
int  size 
)

Definition at line 30 of file qgswkbptr.cpp.

Member Function Documentation

QgsConstWkbPtr::operator const unsigned char * ( ) const
inline

Definition at line 130 of file qgswkbptr.h.

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

Definition at line 127 of file qgswkbptr.h.

void QgsConstWkbPtr::operator-= ( int  n)
inline

Definition at line 128 of file qgswkbptr.h.

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

Definition at line 116 of file qgswkbptr.h.

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

Definition at line 117 of file qgswkbptr.h.

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

Definition at line 118 of file qgswkbptr.h.

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

Definition at line 119 of file qgswkbptr.h.

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

Definition at line 120 of file qgswkbptr.h.

const QgsConstWkbPtr & QgsConstWkbPtr::operator>> ( QPointF point) const
virtual

Read a point.

Reimplemented in QgsConstWkbSimplifierPtr.

Definition at line 60 of file qgswkbptr.cpp.

const QgsConstWkbPtr & QgsConstWkbPtr::operator>> ( QPolygonF points) const
virtual

Read a point array.

Reimplemented in QgsConstWkbSimplifierPtr.

Definition at line 67 of file qgswkbptr.cpp.

template<typename T >
void QgsConstWkbPtr::read ( T &  v) const
inlineprotected

Read a value.

Definition at line 103 of file qgswkbptr.h.

QgsWKBTypes::Type QgsConstWkbPtr::readHeader ( ) const

Definition at line 38 of file qgswkbptr.cpp.

int QgsConstWkbPtr::remaining ( ) const
inline

Definition at line 131 of file qgswkbptr.h.

void QgsConstWkbPtr::verifyBound ( int  size) const
protected

Verify bounds.

Definition at line 54 of file qgswkbptr.cpp.

Member Data Documentation

unsigned char* QgsConstWkbPtr::mEnd
protected

Definition at line 95 of file qgswkbptr.h.

bool QgsConstWkbPtr::mEndianSwap
mutableprotected

Definition at line 96 of file qgswkbptr.h.

unsigned char* QgsConstWkbPtr::mP
mutableprotected

Definition at line 94 of file qgswkbptr.h.

QgsWKBTypes::Type QgsConstWkbPtr::mWkbType
mutableprotected

Definition at line 97 of file qgswkbptr.h.


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