TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy > Class Template Reference

Template class for OUT stub argument of fixed size IDL types. More...

#include <Fixed_Size_Argument_T.h>

Inheritance diagram for TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >:

Inheritance graph
[legend]
Collaboration diagram for TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Out_Fixed_Size_Argument_T (S &x)
virtual CORBA::Boolean demarshal (TAO_InputCDR &)
 Demarshal the argument from the given CDR input stream.
virtual void interceptor_value (CORBA::Any *any) const
 Populate the given CORBA::Any result argument.
S & arg (void)

Private Attributes

S & x_

Detailed Description

template<typename S, class Insert_Policy>
class TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >

Template class for OUT stub argument of fixed size IDL types.

Definition at line 104 of file Fixed_Size_Argument_T.h.


Constructor & Destructor Documentation

template<typename S, class Insert_Policy>
ACE_INLINE TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::Out_Fixed_Size_Argument_T ( S &  x  ) 

Definition at line 57 of file Fixed_Size_Argument_T.inl.

00058   : x_ (x)
00059 {
00060 }


Member Function Documentation

template<typename S, class Insert_Policy>
ACE_INLINE S & TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::arg ( void   ) 

Definition at line 66 of file Fixed_Size_Argument_T.inl.

References TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::x_.

00067 {
00068   return this->x_;
00069 }

template<typename S, class Insert_Policy>
CORBA::Boolean TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::demarshal ( TAO_InputCDR  )  [virtual]

Demarshal the argument from the given CDR input stream.

Note:
The default implementation simply returns true.

Reimplemented from TAO::Argument.

Definition at line 92 of file Fixed_Size_Argument_T.cpp.

References TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::x_.

00093 {
00094   return cdr >> this->x_;
00095 }

template<typename S, class Insert_Policy>
void TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::interceptor_value ( CORBA::Any *  any  )  const [virtual]

Populate the given CORBA::Any result argument.

Note:
The default implementation is a no-op.

Reimplemented from TAO::Argument.

Definition at line 102 of file Fixed_Size_Argument_T.cpp.

00103 {
00104   Insert_Policy::any_insert (any, this->x_);
00105 }


Member Data Documentation

template<typename S, class Insert_Policy>
S& TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::x_ [private]

Definition at line 117 of file Fixed_Size_Argument_T.h.

Referenced by TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::arg(), and TAO::Out_Fixed_Size_Argument_T< S, Insert_Policy >::demarshal().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:39:16 2010 for TAO by  doxygen 1.4.7