QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Classes | Functions
qgsrectangle.h File Reference
#include <iosfwd>
#include <QDomDocument>
#include "qgspoint.h"
Include dependency graph for qgsrectangle.h:

Go to the source code of this file.

Classes

class  QgsRectangle
 A rectangle specified with double values. More...
 

Functions

CORE_EXPORT QDataStreamoperator<< (QDataStream &out, const QgsRectangle &rectangle)
 Writes the list rectangle to stream out. More...
 
std::ostream & operator<< (std::ostream &os, const QgsRectangle &r)
 
CORE_EXPORT QDataStreamoperator>> (QDataStream &in, QgsRectangle &rectangle)
 Reads a rectangle from stream in into rectangle. More...
 

Function Documentation

◆ operator<<() [1/2]

CORE_EXPORT QDataStream& operator<< ( QDataStream out,
const QgsRectangle rectangle 
)

Writes the list rectangle to stream out.

QGIS version compatibility is not guaranteed.

Definition at line 390 of file qgsrectangle.cpp.

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const QgsRectangle r 
)
inline

Definition at line 221 of file qgsrectangle.h.

◆ operator>>()

CORE_EXPORT QDataStream& operator>> ( QDataStream in,
QgsRectangle rectangle 
)

Reads a rectangle from stream in into rectangle.

QGIS version compatibility is not guaranteed.

Definition at line 396 of file qgsrectangle.cpp.