12#ifndef __RTFIMPORT_TOKENIZER_H__
13#define __RTFIMPORT_TOKENIZER_H__
23 enum TokenType { OpenGroup, CloseGroup, ControlWord, PlainText, BinaryData };
31 void open( TQFile *in );
56 TQByteArray fileBuffer;
This class represents the tokenizer and the token.
void open(TQFile *in) Open tokenizer from file.
void next() Reads the next token.
TQByteArray binaryData Binary data (of \bin keyword)
char * text plain text or control word/symbol
int value numeric parameter
bool hasParam token has a (numeric) parameter
|