CPP_Token_Source Struct Reference

A generic representation of a stream of CPP_Token. More...

#include <cpp_token_stream.h>

Inheritance diagram for CPP_Token_Source:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void operator() (CPP_Token &)=0
 User defined get next token function.
virtual ~CPP_Token_Source ()
 virtual destructor

Detailed Description

A generic representation of a stream of CPP_Token.

Derive from this and use an instance of CPP_Token_Stream to implement the operator function. Execute the CPP_Token_Source objects as functions in order to parse the next token. When the token stream is empty, the token type will be CPP_Token::eof.

Definition at line 1201 of file cpp_token_stream.h.


Constructor & Destructor Documentation

virtual ~CPP_Token_Source (  )  [virtual]

virtual destructor

Definition at line 1213 of file cpp_token_stream.h.


Member Function Documentation

virtual void operator() ( CPP_Token  )  [pure virtual]

User defined get next token function.

Implemented in CPP_Stream_Token_Source, CPP_String_Token_Source, and CPP_Buffer_Token_Source.


The documentation for this struct was generated from the following file:
Generated on Wed Feb 29 22:52:43 2012 for CXXUtilities by  doxygen 1.6.3