ircproxy The Ultimate Cyborg |
#include <JustInTime.h>
Definition at line 184 of file JustInTime.h.
Public Member Functions | |
JustInTimeLast (std::string const &token) | |
Construct a JustInTimeLast with value token. | |
JustInTimeLast (MsgPart const &token) | |
Construct a JustInTimeLast with value token. | |
virtual std::string | value (ClientSession const &session) const |
Return the underlying value. | |
virtual void | write_to (std::ostream &os, ClientSession const &session) const |
Write the underlying token, including seperators, to an ostream. | |
Private Attributes | |
boost::shared_ptr < JustInTimeToken > | M_token |
The token to be appended last. |
JustInTimeLast::JustInTimeLast | ( | std::string const & | token | ) | [inline] |
Construct a JustInTimeLast with value token.
Definition at line 189 of file JustInTime.h.
00189 : M_token(NEW(JustInTimeString(token))) { }
JustInTimeLast::JustInTimeLast | ( | MsgPart const & | token | ) | [inline] |
Construct a JustInTimeLast with value token.
Definition at line 191 of file JustInTime.h.
00191 : M_token(NEW(JustInTimeMsgPart(token))) { }
virtual std::string JustInTimeLast::value | ( | ClientSession const & | session | ) | const [inline, virtual] |
Return the underlying value.
Implements JustInTimeToken.
Definition at line 194 of file JustInTime.h.
References M_token.
00194 { return M_token->value(session); }
virtual void JustInTimeLast::write_to | ( | std::ostream & | os, | |
ClientSession const & | session | |||
) | const [inline, virtual] |
Write the underlying token, including seperators, to an ostream.
Implements JustInTimeToken.
Definition at line 197 of file JustInTime.h.
References M_token.
00197 { os << " :" << M_token->value(session); }
boost::shared_ptr<JustInTimeToken> JustInTimeLast::M_token [private] |
The token to be appended last.
Definition at line 186 of file JustInTime.h.
Referenced by value(), and write_to().
Copyright © 2005-2007 Carlo Wood. All rights reserved. |
---|