Shapes
GIS made easy, a lightweight header-only planar geometry library for Modern C++
|
A wkt lexer. More...
#include <wkt_lexer.hpp>
Public Member Functions | |
wkt_lexer (const std::string &source) | |
creates a wkt lexer from the given source More... | |
int | scan () |
scan the next token More... | |
std::string | get_token () const |
returns the current token string More... | |
size_t | get_position () |
returns the current reading position More... | |
|
inline |
creates a wkt lexer from the given source
source | the source string |
Definition at line 29 of file wkt_lexer.hpp.
|
inline |
returns the current reading position
Definition at line 1011 of file wkt_lexer.hpp.
|
inline |
returns the current token string
Definition at line 1000 of file wkt_lexer.hpp.
|
inline |
scan the next token
pointer for backtracking information
Definition at line 42 of file wkt_lexer.hpp.