20 #ifndef GEOS_IO_WKBWRITER_H 21 #define GEOS_IO_WKBWRITER_H 23 #include <geos/export.h> 25 #include <geos/util/Machine.h> 26 #include <geos/io/WKBConstants.h> 35 class CoordinateSequence;
37 class GeometryCollection;
43 class MultiLineString;
92 int bo = getMachineByteOrder(),
93 bool includeSRID =
false,
94 int flv = WKBConstants::wkbExtended);
108 getOutputDimension()
const 110 return defaultOutputDimension;
120 void setOutputDimension(uint8_t newOutputDimension);
137 void setByteOrder(
int newByteOrder);
145 getIncludeSRID()
const 155 setIncludeSRID(
bool newIncludeSRID)
157 includeSRID = newIncludeSRID;
174 void setFlavor(
int newFlavor);
199 uint8_t defaultOutputDimension;
200 uint8_t outputDimension;
209 std::ostream* outStream;
211 unsigned char buf[8];
232 void writeGeometryType(
int geometryType,
int SRID);
235 void writeSRID(
int SRID);
238 void writeByteOrder();
241 void writeInt(
int intValue);
249 #endif // #ifndef GEOS_IO_WKBWRITER_H Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Definition: LineString.h:68
Represents a linear polygon, which may include holes.
Definition: Polygon.h:64
Writes a Geometry into Well-Known Binary format.
Definition: WKBWriter.h:75
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
Basic namespace for all GEOS functionalities.
Definition: Angle.h:26
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58