PROJ C++ API
Public Member Functions | List of all members
osgeo::proj::io::WKTParser Class Reference

Parse a WKT string into the appropriate suclass of util::BaseObject. More...

#include <io.hpp>

Public Member Functions

WKTParsersetStrict (bool strict)
 Set whether parsing should be done in strict mode.
 
std::vector< std::string > warningList () const
 Return the list of warnings found during parsing. More...
 
util::BaseObjectNNPtr createFromWKT (const std::string &wkt)
 Instanciate a sub-class of BaseObject from a WKT string. More...
 

Detailed Description

Parse a WKT string into the appropriate suclass of util::BaseObject.

Member Function Documentation

BaseObjectNNPtr osgeo::proj::io::WKTParser::createFromWKT ( const std::string &  wkt)

Instanciate a sub-class of BaseObject from a WKT string.

Exceptions
ParsingException
std::vector< std::string > osgeo::proj::io::WKTParser::warningList ( ) const

Return the list of warnings found during parsing.

Note
The list might be non-empty only is setStrict(false) has been called.

The documentation for this class was generated from the following files: