QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | List of all members
QgsConstWkbSimplifierPtr Class Reference

#include <qgswkbsimplifierptr.h>

Inheritance diagram for QgsConstWkbSimplifierPtr:
Inheritance graph
[legend]

Public Member Functions

 QgsConstWkbSimplifierPtr (const unsigned char *p, int size, const QgsVectorSimplifyMethod &simplifyMethod)
 Constructor. More...
 
 operator const unsigned char * () const
 unsigned char * operator More...
 
void operator+= (int n)
 Move position forward. More...
 
void operator-= (int n)
 Move position backward. More...
 
const QgsConstWkbPtroperator>> (double &v) const
 Read a double. More...
 
const QgsConstWkbPtroperator>> (float &r) const
 Read a float. More...
 
const QgsConstWkbPtroperator>> (int &v) const
 Read a int. More...
 
const QgsConstWkbPtroperator>> (unsigned int &v) const
 Read a uint. More...
 
const QgsConstWkbPtroperator>> (char &v) const
 Read a char. More...
 
virtual const QgsConstWkbPtroperator>> (QPointF &point) const override
 Read a point. More...
 
virtual const QgsConstWkbPtroperator>> (QPolygonF &points) const override
 Read a point array. More...
 
- Public Member Functions inherited from QgsConstWkbPtr
 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
 
QgsWKBTypes::Type readHeader () const
 
int remaining () const
 

Additional Inherited Members

- Protected Member Functions inherited from QgsConstWkbPtr
template<typename T >
void read (T &v) const
 Read a value. More...
 
void verifyBound (int size) const
 Verify bounds. More...
 
- Protected Attributes inherited from QgsConstWkbPtr
unsigned char * mEnd
 
bool mEndianSwap
 
unsigned char * mP
 
QgsWKBTypes::Type mWkbType
 

Detailed Description

Note
not available in Python bindings

Definition at line 28 of file qgswkbsimplifierptr.h.

Constructor & Destructor Documentation

◆ QgsConstWkbSimplifierPtr()

QgsConstWkbSimplifierPtr::QgsConstWkbSimplifierPtr ( const unsigned char *  p,
int  size,
const QgsVectorSimplifyMethod simplifyMethod 
)

Constructor.

Definition at line 20 of file qgswkbsimplifierptr.cpp.

Member Function Documentation

◆ operator const unsigned char *()

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

unsigned char * operator

Definition at line 59 of file qgswkbsimplifierptr.h.

◆ operator+=()

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

Move position forward.

Definition at line 54 of file qgswkbsimplifierptr.h.

◆ operator-=()

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

Move position backward.

Definition at line 56 of file qgswkbsimplifierptr.h.

◆ operator>>() [1/7]

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

Read a double.

Definition at line 38 of file qgswkbsimplifierptr.h.

◆ operator>>() [2/7]

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

Read a float.

Definition at line 40 of file qgswkbsimplifierptr.h.

◆ operator>>() [3/7]

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

Read a int.

Definition at line 42 of file qgswkbsimplifierptr.h.

◆ operator>>() [4/7]

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

Read a uint.

Definition at line 44 of file qgswkbsimplifierptr.h.

◆ operator>>() [5/7]

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

Read a char.

Definition at line 46 of file qgswkbsimplifierptr.h.

◆ operator>>() [6/7]

const QgsConstWkbPtr & QgsConstWkbSimplifierPtr::operator>> ( QPointF point) const
overridevirtual

Read a point.

Reimplemented from QgsConstWkbPtr.

Definition at line 26 of file qgswkbsimplifierptr.cpp.

◆ operator>>() [7/7]

const QgsConstWkbPtr & QgsConstWkbSimplifierPtr::operator>> ( QPolygonF points) const
overridevirtual

Read a point array.

Reimplemented from QgsConstWkbPtr.

Definition at line 31 of file qgswkbsimplifierptr.cpp.


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