26 #ifndef __TERRALIB_PLUGINEDIT_INTERNAL_GEOMETRYFILE_H 27 #define __TERRALIB_PLUGINEDIT_INTERNAL_GEOMETRYFILE_H 30 #include "../../../common/Exception.h" 107 void setGeometries(
const std::vector<unsigned int>& gids);
109 static void writeGeometries(
const char* fileName,
const std::map<int, te::gm::Geometry*>& geoms);
111 static void writeGeometries(
const char* fileName,
const std::vector<te::gm::Geometry*>& geoms);
122 #endif // __TERRALIB_PLUGINEDIT_INTERNAL_GEOMETRYFILE_H std::auto_ptr< std::ifstream > m_posFile
Pointer to the geometry pos file.
std::auto_ptr< std::ifstream > m_file
Pointer to the geometry file.
unsigned int m_i
Current position on traversing.
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::vector< unsigned int > m_gids
Selected ids to use on traverse operation.
A class that can parses a file with wkb encoded geometries.