lestes::msg::argument_holder10< P0 > Class Template Reference

Argument holder. More...

#include <argument_holder.hh>

Inheritance diagram for lestes::msg::argument_holder10< P0 >:

object lestes::msg::argument_holder11< P0 > List of all members.

Public Types

typedef ptr< message_stencil1<
P0 > > 
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_holder10<
P0 > > 
create (const stencil_type &a_stencil)
 Returns the holder.

Protected Member Functions

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

Private Member Functions

 argument_holder10 (const argument_holder10< P0 > &)
 Hides copy constructor.
argument_holder10< P0 > & operator= (const argument_holder10< P0 > &)
 Hides assignment operator.

Private Attributes

srp< message_stencil1< P0 > > stencil
 Stencil for the message.

Detailed Description

template<typename P0>
class lestes::msg::argument_holder10< P0 >

Argument holder.

Holder for one argument with no arguments filled.

Parameters:
P0 The type of the zeroth argument.

Definition at line 200 of file argument_holder.hh.


Member Typedef Documentation

template<typename P0>
typedef ptr< message_stencil1<P0> > lestes::msg::argument_holder10< P0 >::stencil_type

Type of the stencil.

Definition at line 203 of file argument_holder.hh.


Constructor & Destructor Documentation

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

Creates the holder.

Creates the holder.

Parameters:
a_stencil The stencil for the message.

Definition at line 229 of file argument_holder.hh.

00229                                                                           :
00230         stencil(checked(a_stencil))
00231 {
00232 }

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

Creates copy of the holder.

Creates the holder by copying other holder.

Parameters:
a_other The holder to copy.

Definition at line 239 of file argument_holder.hh.

00239                                                                                  :
00240         stencil(((void)checked(other),other->stencil_get()))
00241 {
00242 }

template<typename P0>
lestes::msg::argument_holder10< P0 >::argument_holder10 ( const argument_holder10< P0 > &   )  [private]

Hides copy constructor.


Member Function Documentation

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

Returns the stencil.

Returns the stencil.

Returns:
The stored stencil.

Definition at line 249 of file argument_holder.hh.

References lestes::msg::argument_holder10< P0 >::stencil.

00250 {
00251         return stencil;
00252 }

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

Returns the holder.

Returns the holder.

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

Definition at line 261 of file argument_holder.hh.

00262 {
00263         return new argument_holder10<P0>(0,a_stencil);
00264 }

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

Marks the object.

Marks the object for garbage collection.

Reimplemented in lestes::msg::argument_holder11< P0 >.

Definition at line 270 of file argument_holder.hh.

References lestes::msg::argument_holder10< P0 >::stencil.

00271 {
00272         stencil.gc_mark();
00273         object::gc_mark();
00274 }

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

Hides assignment operator.


Member Data Documentation

template<typename P0>
srp< message_stencil1<P0> > lestes::msg::argument_holder10< P0 >::stencil [private]

Stencil for the message.

Definition at line 217 of file argument_holder.hh.

Referenced by lestes::msg::argument_holder10< P0 >::gc_mark(), and lestes::msg::argument_holder10< P0 >::stencil_get().


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