Class MyNexusToken
Member Functions
MyNexusToken, OutputComment
Class Description
The MyNexusToken class provides a NxsToken -derived object that can display output comments as it encounters them. The virtual function NxsToken ::OutputComment is overridden in this class for this purpose.
Key to symbols and colors
public, protected, private, A = abstract, C = constructor, D = destructor, I = inline, S = static, V = virtual, F = friend
| C |
|
|
|
MyNexusToken(istream &i) |
| |
|
|
|
The constructor simply passes along i to the base class constructor. Nothing else needs to be done. |
|
| |
|
void |
|
OutputComment(const NxsString &msg) |
| |
|
|
|
Overrides the NxsToken::OutputComment virtual function (which does nothing) to display output comments [!comments like this one beginning with an exclamation point]. The output comment contained in msg is simply sent to the standard output stream cout. |
|