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

Definition at line 69 of file JustInTime.h.
Public Member Functions | |
| JustInTimeLong (long token) | |
| Construct a JustInTimeLong 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 | |
| long | M_token |
| The token. | |
| JustInTimeLong::JustInTimeLong | ( | long | token | ) | [inline] |
Construct a JustInTimeLong with value token.
Definition at line 74 of file JustInTime.h.
00074 : M_token(token) { }
| virtual std::string JustInTimeLong::value | ( | ClientSession const & | ) | const [inline, virtual] |
Return the underlying value.
Implements JustInTimeToken.
Definition at line 76 of file JustInTime.h.
References M_token.
00076 { std::ostringstream result; result << M_token; return result.str(); }
| virtual void JustInTimeLong::write_to | ( | std::ostream & | os, | |
| ClientSession const & | ||||
| ) | const [inline, virtual] |
Write the underlying token, including seperators, to an ostream.
Implements JustInTimeToken.
Definition at line 79 of file JustInTime.h.
00079 { os << ' ' << M_token; }
long JustInTimeLong::M_token [private] |
| Copyright © 2005-2007 Carlo Wood. All rights reserved. |
|---|