![]() |
ircproxy The Ultimate Cyborg |
#include <JustInTime.h>

Definition at line 54 of file JustInTime.h.
Public Member Functions | |
| JustInTimeChar (char token) | |
| Construct a JustInTimeChar with value token. | |
| virtual std::string | value (ClientSession const &) const |
| Return the underlying value. | |
| virtual void | write_to (std::ostream &os, ClientSession const &) const |
| Write the underlying token, including seperators, to an ostream. | |
Private Attributes | |
| char | M_token |
| The token char. | |
| JustInTimeChar::JustInTimeChar | ( | char | token | ) | [inline] |
Construct a JustInTimeChar with value token.
Definition at line 59 of file JustInTime.h.
00059 : M_token(token) { }
| virtual std::string JustInTimeChar::value | ( | ClientSession const & | ) | const [inline, virtual] |
Return the underlying value.
Implements JustInTimeToken.
Definition at line 61 of file JustInTime.h.
References M_token.
00061 { std::string result; result = M_token; return result; }
| virtual void JustInTimeChar::write_to | ( | std::ostream & | os, | |
| ClientSession const & | ||||
| ) | const [inline, virtual] |
Write the underlying token, including seperators, to an ostream.
Implements JustInTimeToken.
Definition at line 64 of file JustInTime.h.
References M_token.
00064 { os << ' ' << M_token; }
char JustInTimeChar::M_token [private] |
| Copyright © 2005-2007 Carlo Wood. All rights reserved. |
|---|