ircproxy The Ultimate Cyborg |
#include <JustInTime.h>
Definition at line 39 of file JustInTime.h.
Public Member Functions | |
JustInTimeString (std::string const &token) | |
Construct a JustInTimeString 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 | |
std::string | M_token |
The token string. |
JustInTimeString::JustInTimeString | ( | std::string const & | token | ) | [inline] |
Construct a JustInTimeString with value token.
Definition at line 44 of file JustInTime.h.
00044 : M_token(token) { }
virtual std::string JustInTimeString::value | ( | ClientSession const & | ) | const [inline, virtual] |
Return the underlying value.
Implements JustInTimeToken.
Definition at line 46 of file JustInTime.h.
References M_token.
00046 { return M_token; }
virtual void JustInTimeString::write_to | ( | std::ostream & | os, | |
ClientSession const & | ||||
) | const [inline, virtual] |
Write the underlying token, including seperators, to an ostream.
Implements JustInTimeToken.
Definition at line 49 of file JustInTime.h.
References M_token.
00049 { os << ' ' << M_token; }
std::string JustInTimeString::M_token [private] |
The token string.
Definition at line 41 of file JustInTime.h.
Referenced by value(), and write_to().
Copyright © 2005-2007 Carlo Wood. All rights reserved. |
---|