Class for the argument list of a CORBA::(Server)Request. More...
#include <DII_Arguments.h>
Public Member Functions | |
NVList_Argument (CORBA::NVList_ptr, bool lazy_eval) | |
virtual CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
Marshal the argument into the given CDR output stream. | |
virtual CORBA::Boolean | demarshal (TAO_InputCDR &) |
Demarshal the argument from the given CDR input stream. | |
void | interceptor_paramlist (Dynamic::ParameterList *) |
CORBA::NVList_ptr | arg () const |
Private Attributes | |
CORBA::NVList_ptr | x_ |
bool | lazy_evaluation_ |
Class for the argument list of a CORBA::(Server)Request.
Definition at line 70 of file DII_Arguments.h.
TAO::NVList_Argument::NVList_Argument | ( | CORBA::NVList_ptr | x, | |
bool | lazy_eval | |||
) |
Definition at line 25 of file DII_Arguments.inl.
: x_ (x) , lazy_evaluation_ (lazy_eval) { }
CORBA::NVList_ptr TAO::NVList_Argument::arg | ( | void | ) | const |
Definition at line 33 of file DII_Arguments.inl.
{ return this->x_; }
CORBA::Boolean TAO::NVList_Argument::demarshal | ( | TAO_InputCDR & | ) | [virtual] |
Demarshal the argument from the given CDR input stream.
true
. Reimplemented from TAO::Argument.
Definition at line 49 of file DII_Arguments.cpp.
{ try { this->x_->_tao_encode (cdr, CORBA::ARG_IN | CORBA::ARG_INOUT); } catch (const ::CORBA::Exception&) { return false; } return true; } CORBA::Boolean NVList_Argument::demarshal (TAO_InputCDR &cdr) { try
void TAO::NVList_Argument::interceptor_paramlist | ( | Dynamic::ParameterList * | lst | ) |
Definition at line 74 of file DII_Arguments.cpp.
{ return false; } return true; } void NVList_Argument::interceptor_paramlist (Dynamic::ParameterList *lst) { CORBA::ULong const len = this->x_->count (); lst->length (len); for (CORBA::ULong i = 0; i < len; ++i) { if (!this->x_->item (i)->value ()) return; (*lst)[i].argument.replace (this->x_->item (i)->value ()->impl ()); switch (this->x_->item (i)->flags ()) { case CORBA::ARG_IN:
CORBA::Boolean TAO::NVList_Argument::marshal | ( | TAO_OutputCDR & | cdr | ) | [virtual] |
Marshal the argument into the given CDR output stream.
true
. Reimplemented from TAO::Argument.
Definition at line 34 of file DII_Arguments.cpp.
{ return false; } this->byte_order_ = cdr.byte_order (); return true; } void NamedValue_Argument::interceptor_value (CORBA::Any *any) const {
bool TAO::NVList_Argument::lazy_evaluation_ [private] |
Definition at line 89 of file DII_Arguments.h.
CORBA::NVList_ptr TAO::NVList_Argument::x_ [private] |
Definition at line 87 of file DII_Arguments.h.