#include <message_stencil.hh>
Inheritance diagram for lestes::msg::message_stencil0< T >:

Public Member Functions | |
| ptr< message > | format (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. | |
Represents message stencil with no parameters.
| T | Fake parameter to enable templatization. |
Definition at line 117 of file message_stencil.hh.
| lestes::msg::message_stencil0< T >::message_stencil0 | ( | const lstring & | a_text, | |
| flags_type | a_flags | |||
| ) | [inline, protected] |
Creates new stencil.
Creates the stencil.
Definition at line 145 of file message_stencil.hh.
00145 : 00146 message_stencil(0,a_text,a_flags) 00147 { 00148 }
| lestes::msg::message_stencil0< T >::message_stencil0 | ( | const message_stencil0< T > & | ) | [private] |
Hides copy constructor.
| ptr< message > lestes::msg::message_stencil0< T >::format | ( | void | ) | const [inline] |
Formats a message according to the stencil.
Formats a messge from the stencil.
Definition at line 155 of file message_stencil.hh.
References lestes::std::vector< T >::create(), and lestes::msg::message_stencil::generate().
00156 { 00157 ptr<args_type> args = args_type::create(); 00158 return generate(args); 00159 }
| 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.
| a_format | The format for the message, with % designating indexed parameter slots. | |
| a_flags | The flags for the message. |
Definition at line 169 of file message_stencil.hh.
| 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.
Definition at line 178 of file message_stencil.hh.
References lestes::msg::message_stencil::gc_mark().
00179 { 00180 message_stencil::gc_mark(); 00181 }
| void lestes::msg::message_stencil0< T >::fake_method | ( | T & | ) | [private] |
Fake method to enable templatization.
| message_stencil0<T>& lestes::msg::message_stencil0< T >::operator= | ( | const message_stencil0< T > & | ) | [private] |
Hides assignment operator.
1.5.1-20070107