27 #include "../common/Translator.h" 
   36   const std::string s(wkt);
 
   37   std::string::const_iterator beginS = s.begin();
 
   38   std::string::const_iterator endS = s.end();
 
   40   bool isValid = phrase_parse(beginS, endS, parser, boost::spirit::ascii::space);
 
   42     throw Exception(
TE_TR(
"Invalid Geometry WKT - parsing failed!"));
 
#define TE_TR(message)
It marks a string in order to get translated. 
 
Geometry * getGeometry()
It returns the geometry generated by the parser process. 
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
An exception class for the Geometry module. 
 
A class that implements the grammar rules for well known text (WKT) for Geometry. It is based on boos...
 
A class that deserializes a geometry from a valid WKT. 
 
static Geometry * read(const char *wkt)
It returns a valid Geometry from a given WKT.