User Tools

Site Tools


api:dk11:delphi:gisclasses.tgis_tokenizer

TGIS_Tokenizer class

DK11 for Delphi | GisClasses.TGIS_Tokenizer | Classes | Constructors | Methods | Properties

A simple tokenizer for parameters line splitting.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_Tokenizer = class( TGIS_Object )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_Tokenizer : public TGIS_Object
{
};

Inheritance

→ TObject → TGIS_Object

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create tokenizer object.

Methods

Inherited Overrides Protected
Name Visibility Description
CurrentToken public Get a token at current Result list position.
Eof public Is a token on the last Result list position.
Execute(String; array of Char) public Do tokenizing.
Execute(String; array of Char; Boolean) public Do tokenizing.
ExecuteEx(String) public Do tokenizing of simple stream like "aaaa","aaaa",123,"aaaa".
ExecuteEx(String; Char) public Do tokenizing of simple stream like "aaaa","aaaa",123,"aaaa".
ExecuteEx(String; Char; Char) public Do tokenizing of simple stream like "aaaa","aaaa",123,"aaaa".
MoveFirst public Move to the first token of Result list.
MoveNext public Move to the next token of Result list.

Properties

Inherited Protected
Name Visibility Description
CurrentIndex public Current index value.
Result public String list on which each element represent each token.

References

2019/01/25 16:20