TAO::NamedValue_Argument Class Reference

Class for the return value of a CORBA::(Server)Request. More...

#include <DII_Arguments.h>

Inheritance diagram for TAO::NamedValue_Argument:

Inheritance graph
[legend]
Collaboration diagram for TAO::NamedValue_Argument:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NamedValue_Argument (CORBA::NamedValue_ptr)
virtual CORBA::Boolean demarshal (TAO_InputCDR &)
virtual void interceptor_value (CORBA::Any *any) const
int byte_order (void) const

Private Attributes

CORBA::NamedValue_ptr x_
int byte_order_
 Byte order that the Request class will use.


Detailed Description

Class for the return value of a CORBA::(Server)Request.

Definition at line 47 of file DII_Arguments.h.


Constructor & Destructor Documentation

ACE_INLINE TAO::NamedValue_Argument::NamedValue_Argument CORBA::NamedValue_ptr   ) 
 

Definition at line 10 of file DII_Arguments.inl.

00011     : x_ (x)
00012     , byte_order_ (0)
00013   {
00014   }


Member Function Documentation

ACE_INLINE int TAO::NamedValue_Argument::byte_order void   )  const
 

Definition at line 17 of file DII_Arguments.inl.

Referenced by CORBA::Request::invoke().

00018   {
00019     return this->byte_order_;
00020   }

CORBA::Boolean TAO::NamedValue_Argument::demarshal TAO_InputCDR  )  [virtual]
 

Reimplemented from TAO::Argument.

Definition at line 25 of file DII_Arguments.cpp.

References ACE_CATCHANY, ACE_CHECK_RETURN, ACE_DECLARE_NEW_CORBA_ENV, ACE_ENDTRY, ACE_ENV_ARG_PARAMETER, ACE_TRY, ACE_TRY_CHECK, and ACE_InputCDR::byte_order().

00026   {
00027     ACE_DECLARE_NEW_CORBA_ENV;
00028     ACE_TRY
00029       {
00030         if (this->x_ !=0 && this->x_->value ()->impl ())
00031           {
00032             this->x_->value ()->impl ()->_tao_decode (cdr
00033                                                       ACE_ENV_ARG_PARAMETER);
00034             ACE_TRY_CHECK;
00035           }
00036       }
00037     ACE_CATCHANY
00038       {
00039         return 0;
00040       }
00041     ACE_ENDTRY;
00042     ACE_CHECK_RETURN (false);
00043 
00044     this->byte_order_ = cdr.byte_order ();
00045 
00046     return 1;
00047   }

void TAO::NamedValue_Argument::interceptor_value CORBA::Any *  any  )  const [virtual]
 

Reimplemented from TAO::Argument.

Definition at line 50 of file DII_Arguments.cpp.

00051   {
00052     (*any) <<= *this->x_->value ();
00053   }


Member Data Documentation

int TAO::NamedValue_Argument::byte_order_ [private]
 

Byte order that the Request class will use.

Definition at line 62 of file DII_Arguments.h.

CORBA::NamedValue_ptr TAO::NamedValue_Argument::x_ [private]
 

Definition at line 59 of file DII_Arguments.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:05:11 2006 for TAO_DynamicInterface by doxygen 1.3.6