lestes::msg::argument_holder20< P0, P1 > Class Template Reference

Argument holder. More...

#include <argument_holder.hh>

Inheritance diagram for lestes::msg::argument_holder20< P0, P1 >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef ptr< message_stencil2<
P0, P1 > > 
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_holder20<
P0, P1 > > 
create (const stencil_type &a_stencil)
 Returns the holder.

Protected Member Functions

 argument_holder20 (int, const stencil_type &a_stencil)
 Creates the holder.
 argument_holder20 (const ptr< argument_holder20< P0, P1 > > &other)
 Creates copy of the holder.
void gc_mark (void)
 Marks the object.

Private Member Functions

 argument_holder20 (const argument_holder20< P0, P1 > &)
 Hides copy constructor.
argument_holder20< P0, P1 > & operator= (const argument_holder20< P0, P1 > &)
 Hides assignment operator.

Private Attributes

srp< message_stencil2< P0,
P1 > > 
stencil
 Stencil for the message.

Detailed Description

template<typename P0, typename P1>
class lestes::msg::argument_holder20< P0, P1 >

Argument holder.

Holder for two arguments with no arguments filled.

Parameters:
P0 The type of the zeroth argument.
P1 The type of the first argument.


Member Typedef Documentation

template<typename P0, typename P1>
typedef ptr< message_stencil2<P0,P1> > lestes::msg::argument_holder20< P0, P1 >::stencil_type

Type of the stencil.


Constructor & Destructor Documentation

template<typename P0, typename P1>
lestes::msg::argument_holder20< P0, P1 >::argument_holder20 ( int  ,
const stencil_type a_stencil 
) [inline, protected]

Creates the holder.

Creates the holder for two arguments.

Parameters:
a_stencil The stencil for the message.

template<typename P0, typename P1>
lestes::msg::argument_holder20< P0, P1 >::argument_holder20 ( const ptr< argument_holder20< P0, P1 > > &  other  )  [inline, protected]

Creates copy of the holder.

Creates holder by copying other holder.

Parameters:
a_other The holder to copy.

template<typename P0, typename P1>
lestes::msg::argument_holder20< P0, P1 >::argument_holder20 ( const argument_holder20< P0, P1 > &   )  [private]

Hides copy constructor.


Member Function Documentation

template<typename P0, typename P1>
argument_holder20< P0, P1 >::stencil_type lestes::msg::argument_holder20< P0, P1 >::stencil_get ( void   )  const [inline]

Returns the stencil.

Returns the stencil.

Returns:
The stored stencil.

template<typename P0, typename P1>
ptr< argument_holder20< P0, P1 > > lestes::msg::argument_holder20< P0, P1 >::create ( const stencil_type a_stencil  )  [inline, static]

Returns the holder.

Returns holder for two arguments.

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

template<typename P0, typename P1>
void lestes::msg::argument_holder20< P0, P1 >::gc_mark ( void   )  [inline, protected]

Marks the object.

Marks the object for garbage collection.

Reimplemented in lestes::msg::argument_holder21< P0, P1 >, and lestes::msg::argument_holder22< P0, P1 >.

template<typename P0, typename P1>
argument_holder20<P0,P1>& lestes::msg::argument_holder20< P0, P1 >::operator= ( const argument_holder20< P0, P1 > &   )  [private]

Hides assignment operator.


Member Data Documentation

template<typename P0, typename P1>
srp< message_stencil2<P0,P1> > lestes::msg::argument_holder20< P0, P1 >::stencil [private]

Stencil for the message.


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