C# Class SharpMap.Converters.WellKnownText.WktStreamTokenizer

Reads a stream of Well Known Text (wkt) string and returns a stream of tokens.
Inheritance: StreamTokenizer
Afficher le fichier Open project: jumpinjackie/fdotoolbox Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ReadToken ( string expectedToken ) : void

Reads a token and checks it is what is expected.

Method Details

ReadAuthority() public méthode

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.
Résultat void

ReadDoubleQuotedWord() public méthode

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

WktStreamTokenizer() public méthode

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
Résultat System