Inheritance diagram for code::ShapeType:
NOTE: ESRI's data are stored in Intel format. So, these createObject and getNetworkFormat functions should be invoked on an Intel-byte ordered stream.
virtual code::ShapeType::~ShapeType | ( | ) | [inline, virtual] |
code::ShapeType::ShapeType | ( | ESRI_Shape | esri_shape | ) | [inline, protected] |
virtual void code::ShapeType::createNetworkFormat | ( | OutputStream & | os | ) | const [pure virtual] |
Write a network representation into the stream.
The shape type is also written in and should not be written before hand. NOTE: ESRI's data are stored in Intel format. So, these createObject and getNetworkFormat functions should be invoked on an Intel-byte ordered stream.
Implemented in code::NullShapeType, code::PointShapeType, code::MultiPointShapeType, code::PolyLineShapeType, and code::PolygonShapeType.
virtual void code::ShapeType::createObject | ( | InputStream & | is | ) | throw (std::string) [pure virtual] |
Fill the object with the InputStream.
the first integer should be used to obtain the right ShapeType to invoke this function on. NOTE: ESRI's data are stored in Intel format. So, these createObject and getNetworkFormat functions should be invoked on an Intel-byte ordered stream.
Implemented in code::NullShapeType, code::PointShapeType, code::MultiPointShapeType, code::PolyLineShapeType, and code::PolygonShapeType.
ESRI's types .
.. 0 is Null, 1 is Point, etc.