C# Class Mapsui.Geometries.WellKnownText.WktStreamTokenizer

Reads a stream of Well Known Text (wkt) string and returns a stream of tokens.
Inheritance: StreamTokenizer
Mostrar archivo Open project: pauldendulk/Mapsui Class Usage Examples

Public Methods

Method Description
ReadAuthority ( string &authority, long &authorityCode ) : void

Reads the authority and authority code.

ReadDoubleQuotedWord ( ) : string

Reads a string inside double quotes.

White space inside quotes is preserved.

WktStreamTokenizer ( TextReader reader ) : System

Initializes a new instance of the WktStreamTokenizer class.

The WktStreamTokenizer class ais in reading WKT streams.

Private Methods

Method Description
ReadToken ( string expectedToken ) : void

Reads a token and checks it is what is expected.

Method Details

ReadAuthority() public method

Reads the authority and authority code.
public ReadAuthority ( string &authority, long &authorityCode ) : void
authority string String to place the authority in.
authorityCode long String to place the authority code in.
return void

ReadDoubleQuotedWord() public method

Reads a string inside double quotes.
White space inside quotes is preserved.
public ReadDoubleQuotedWord ( ) : string
return string

WktStreamTokenizer() public method

Initializes a new instance of the WktStreamTokenizer class.
The WktStreamTokenizer class ais in reading WKT streams.
public WktStreamTokenizer ( TextReader reader ) : System
reader System.IO.TextReader A TextReader that contains
return System