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

Argument holder. More...

#include <argument_holder.hh>

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

Inheritance graph
[legend]
List of all members.

Public Types

typedef ptr< message_stencil0<
T > > 
stencil_type
 Type of the stencil.

Public Member Functions

stencil_type stencil_get (void) const
 Returns the stencil.

Static Public Member Functions

static ptr< argument_holder00<
T > > 
create (const stencil_type &a_stencil)
 Returns the holder.

Protected Member Functions

 argument_holder00 (const stencil_type &a_stencil)
 Creates the holder.
void gc_mark (void)
 Marks the object.

Private Member Functions

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

Private Attributes

srp< message_stencil0< T > > stencil
 Stencil for the message.

Detailed Description

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

Argument holder.

Holder for zero arguments with zero arguments filled.

Parameters:
T Fake argument to enable templatization.


Member Typedef Documentation

template<typename T>
typedef ptr< message_stencil0<T> > lestes::msg::argument_holder00< T >::stencil_type

Type of the stencil.


Constructor & Destructor Documentation

template<typename T>
lestes::msg::argument_holder00< T >::argument_holder00 ( const stencil_type a_stencil  )  [inline, protected]

Creates the holder.

Creates holder for zero arguments.

Parameters:
a_stencil The stencil for the message.

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

Hides copy constructor.


Member Function Documentation

template<typename T>
argument_holder00< T >::stencil_type lestes::msg::argument_holder00< T >::stencil_get ( void   )  const [inline]

Returns the stencil.

Returns the stencil.

Returns:
The stored stencil.

template<typename T>
ptr< argument_holder00< T > > lestes::msg::argument_holder00< T >::create ( const stencil_type a_stencil  )  [inline, static]

Returns the holder.

Returns holder for no arguments.

Precondition:
a_stencil != NULL
Parameters:
a_stencil The stencil for the message.
Returns:
The holder.

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

Marks the object.

Marks the object for garbage collection.

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

Fake method to enable templatization.

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

Hides assignment operator.


Member Data Documentation

template<typename T>
srp< message_stencil0<T> > lestes::msg::argument_holder00< T >::stencil [private]

Stencil for the message.


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