ircproxy  The Ultimate Cyborg

JustInTimeString Class Reference

#include <JustInTime.h>

Inheritance diagram for JustInTimeString:

JustInTimeToken

List of all members.


Detailed Description

A just-in-time string.

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.

Constructor & Destructor Documentation

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) { }


Member Function Documentation

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; }


Member Data Documentation

std::string JustInTimeString::M_token [private]

The token string.

Definition at line 41 of file JustInTime.h.

Referenced by value(), and write_to().


The documentation for this class was generated from the following file:

Copyright © 2005-2007 Carlo Wood.  All rights reserved.