C# Класс SharpMap.Converters.WellKnownText.WktStreamTokenizer

Reads a stream of Well Known Text (wkt) string and returns a stream of tokens.
Наследование: StreamTokenizer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ReadToken ( string expectedToken ) : void

Reads a token and checks it is what is expected.

Описание методов

ReadAuthority() публичный Метод

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.
Результат void

ReadDoubleQuotedWord() публичный Метод

Reads a string inside double quotes.
White space inside quotes is preserved.
public ReadDoubleQuotedWord ( ) : string
Результат string

WktStreamTokenizer() публичный Метод

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
Результат System