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_InputCDR::byte_order().

00026   {
00027     try
00028       {
00029         if (this->x_ !=0 && this->x_->value ()->impl ())
00030           {
00031             this->x_->value ()->impl ()->_tao_decode (cdr);
00032           }
00033       }
00034     catch (const ::CORBA::Exception&)
00035       {
00036         return false;
00037       }
00038 
00039     this->byte_order_ = cdr.byte_order ();
00040 
00041     return true;
00042   }

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

Reimplemented from TAO::Argument.

Definition at line 45 of file DII_Arguments.cpp.

00046   {
00047     (*any) <<= *this->x_->value ();
00048   }


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 Sun Jan 27 13:37:50 2008 for TAO_DynamicInterface by doxygen 1.3.6