TZGenericSQLQuoteState Class Reference

Implements a quote string state object. More...

Inheritance diagram for TZGenericSQLQuoteState:

TZQuoteState TZTokenizerState TZInterbaseQuoteState TZOracleQuoteState

List of all members.

Public Member Functions

string DecodeString (const string Value, Char QuoteChar)
 Decodes a string value.
string EncodeString (const string Value, Char QuoteChar)
 Encodes a string value.
TZToken NextToken (TStream Stream, Char FirstChar, TZTokenizer Tokenizer)
 Return a quoted string token from a reader.


Detailed Description

Implements a quote string state object.

Definition at line 96 of file ZGenericSqlToken.pas.


Member Function Documentation

string TZGenericSQLQuoteState::DecodeString ( const string  Value,
Char  QuoteChar 
)

Decodes a string value.

Parameters:
Value a string value to be decoded.
QuoteChar a string quote character.
Returns:
an decoded string.

Reimplemented from TZQuoteState.

Definition at line 277 of file ZGenericSqlToken.pas.

string TZGenericSQLQuoteState::EncodeString ( const string  Value,
Char  QuoteChar 
)

Encodes a string value.

Parameters:
Value a string value to be encoded.
QuoteChar a string quote character.
Returns:
an encoded string.

Reimplemented from TZQuoteState.

Definition at line 259 of file ZGenericSqlToken.pas.

TZToken TZGenericSQLQuoteState::NextToken ( TStream  Stream,
Char  FirstChar,
TZTokenizer  Tokenizer 
)

Return a quoted string token from a reader.

This method will collect characters until it sees a match to the character that the tokenizer used to switch to this state.

Returns:
a quoted string token from a reader

Reimplemented from TZQuoteState.

Definition at line 221 of file ZGenericSqlToken.pas.


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 08:42:51 2009 for zeoslib by  doxygen 1.5.7.1