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

Template class for return stub value of fixed size IDL types. More...

#include <Fixed_Size_Argument_T.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Ret_Fixed_Size_Argument_T (void)
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)
excp (void)
retn (void)

Protected Attributes

x_

Detailed Description

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

Template class for return stub value of fixed size IDL types.

Definition at line 128 of file Fixed_Size_Argument_T.h.


Constructor & Destructor Documentation

template<typename S, class Insert_Policy>
ACE_INLINE TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::Ret_Fixed_Size_Argument_T ( void   ) 

Definition at line 77 of file Fixed_Size_Argument_T.inl.

00078 {
00079 }


Member Function Documentation

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

Definition at line 85 of file Fixed_Size_Argument_T.inl.

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

00086 {
00087   return this->x_;
00088 }

template<typename S, class Insert_Policy>
CORBA::Boolean TAO::Ret_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 114 of file Fixed_Size_Argument_T.cpp.

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

00115 {
00116   return cdr >> this->x_;
00117 }

template<typename S, class Insert_Policy>
ACE_INLINE S TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::excp ( void   ) 

Definition at line 94 of file Fixed_Size_Argument_T.inl.

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

00095 {
00096   return this->x_;
00097 }

template<typename S, class Insert_Policy>
void TAO::Ret_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 125 of file Fixed_Size_Argument_T.cpp.

00126 {
00127   Insert_Policy::any_insert (any, this->x_);
00128 }

template<typename S, class Insert_Policy>
ACE_INLINE S TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::retn ( void   ) 

Definition at line 103 of file Fixed_Size_Argument_T.inl.

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

00104 {
00105   return this->x_;
00106 }


Member Data Documentation

template<typename S, class Insert_Policy>
S TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::x_ [protected]

Definition at line 142 of file Fixed_Size_Argument_T.h.

Referenced by TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::arg(), TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::demarshal(), TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::excp(), and TAO::Ret_Fixed_Size_Argument_T< S, Insert_Policy >::retn().


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