lestes::msg::message_stencil0< T > Class Template Reference

Message stencil. More...

#include <message_stencil.hh>

Inheritance diagram for lestes::msg::message_stencil0< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< messageformat (void) const
 Formats a message according to the stencil.

Static Public Member Functions

static ptr< message_stencil0<
T > > 
create (const lstring &a_format, flags_type a_flags)
 Returns new stencil.

Protected Member Functions

 message_stencil0 (const lstring &a_format, flags_type a_flags)
 Creates new stencil.
void gc_mark (void)
 Marks the object.

Private Member Functions

void fake_method (T &)
 Fake method to enable templatization.
 message_stencil0 (const message_stencil0< T > &)
 Hides copy constructor.
message_stencil0< T > & operator= (const message_stencil0< T > &)
 Hides assignment operator.

Detailed Description

template<typename T>
class lestes::msg::message_stencil0< T >

Message stencil.

Represents message stencil with no parameters.

Parameters:
T Fake parameter to enable templatization.


Constructor & Destructor Documentation

template<typename T>
lestes::msg::message_stencil0< T >::message_stencil0 ( const lstring &  a_text,
flags_type  a_flags 
) [inline, protected]

Creates new stencil.

Creates the stencil.

Parameters:
a_format The message format.
a_flags The message flags.

template<typename T>
lestes::msg::message_stencil0< T >::message_stencil0 ( const message_stencil0< T > &   )  [private]

Hides copy constructor.


Member Function Documentation

template<typename T>
ptr< message > lestes::msg::message_stencil0< T >::format ( void   )  const [inline]

Formats a message according to the stencil.

Formats a messge from the stencil.

Returns:
The formatted message.

template<typename T>
ptr< message_stencil0< T > > lestes::msg::message_stencil0< T >::create ( const lstring &  a_format,
flags_type  a_flags 
) [inline, static]

Returns new stencil.

Returns the zero-parameter stencil, initializes with values to fill into the message.

Precondition:
The format string is well-formed.
Parameters:
a_format The format for the message, with % designating indexed parameter slots.
a_flags The flags for the message.
Returns:
The stencil with given

template<typename T>
void lestes::msg::message_stencil0< T >::gc_mark ( void   )  [inline, protected, virtual]

Marks the object.

Marks the object for garbage collection.

Reimplemented from lestes::msg::message_stencil.

template<typename T>
void lestes::msg::message_stencil0< T >::fake_method ( T &   )  [private]

Fake method to enable templatization.

template<typename T>
message_stencil0<T>& lestes::msg::message_stencil0< T >::operator= ( const message_stencil0< T > &   )  [private]

Hides assignment operator.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:49:41 2007 for lestes by doxygen 1.5.1-20070107