77 KKStrPtr GetNextTokenRaw ();
81 KKStrPtr ProcessTagToken ();
82 KKStrPtr ProcessBodyToken ();
83 void ProcessAmpersand ();
86 void ReadInNextLogicalToken ();
90 bool WhiteSpaceChar (
char c)
const;
92 char LookUpEntity (
const KKStr& entityName)
const;
98 std::deque<KKStrPtr> tokenList;
103 bool weOwnTokenBuffer;
107 std::map<KKStr,
char> entityMap;
112 std::ofstream logger1;
113 std::ofstream logger2;
void PushTokenOnFront(KKStrPtr t)
places token at current position such that it will be the next token extracted from the stream...
Manages the break down a stream into a set of logical tokens compatible with the XML format...
XmlTokenizer(const KKStr &_fileName, bool &_fileOpened)
unsigned __int32 kkuint32
XmlTokenizer(TokenBufferPtr _in)
Constructs a XmlTokenizer using the provided [[TokenBuffer]] _in as the data stream source...
XmlTokenizer * XmlTokenizerPtr
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
XmlTokenizer(const KKStr &_str)
Manages the extraction of xml tokens from a KKStr instance; accomplishes this by building a [[TokenBu...
KKStrConstPtr Peek(kkuint32 idx)
Allows you to look at future tokens in the stream; index of 0 would be the next token to be extracted...
TokenBuffer * TokenBufferPtr
KKStrConstPtr operator[](kkuint32 idx)
KKStrListPtr GetNextTokens(const KKStr &delToken)
Returns a list of tokens up to and including the first occurrence of 'delToken'.
KKStrPtr GetNextToken()
Will retrieve the next token in the stream which will be either a tag token or up to one line of the ...