Template class for INOUT skeleton bd (w)string argument. More...
#include <BD_String_SArgument_T.h>
Public Member Functions | |
Inout_BD_String_SArgument_T (void) | |
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. | |
virtual void | interceptor_value (CORBA::Any *any) const |
Populate the given CORBA::Any result argument. | |
S_var::s_traits::char_type *& | arg (void) |
Private Attributes | |
S_var | x_ |
Template class for INOUT skeleton bd (w)string argument.
Definition at line 65 of file BD_String_SArgument_T.h.
TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::Inout_BD_String_SArgument_T | ( | void | ) |
Definition at line 33 of file BD_String_SArgument_T.inl.
{}
S_var::s_traits::char_type *& TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::arg | ( | void | ) |
Definition at line 42 of file BD_String_SArgument_T.inl.
{ return this->x_.inout (); }
CORBA::Boolean TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::demarshal | ( | TAO_InputCDR & | ) | [virtual] |
Demarshal the argument from the given CDR input stream.
true
. Reimplemented from TAO::Argument.
Definition at line 67 of file BD_String_SArgument_T.cpp.
{ CORBA::Boolean const demarshalled = cdr >> this->x_.out (); if (this->x_.in () != 0 && ACE_OS::strlen (this->x_.in ()) > BOUND) { throw ::CORBA::BAD_PARAM (); } return demarshalled; }
void TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::interceptor_value | ( | CORBA::Any * | ) | const [virtual] |
Populate the given CORBA::Any result argument.
Reimplemented from TAO::Argument.
Definition at line 85 of file BD_String_SArgument_T.cpp.
{ typedef typename S_var::s_traits::from_type from_type; Insert_Policy<from_type>::any_insert ( any, from_type (this->x_.in (), BOUND)); }
CORBA::Boolean TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::marshal | ( | TAO_OutputCDR & | cdr | ) | [virtual] |
Marshal the argument into the given CDR output stream.
true
. Reimplemented from TAO::Argument.
Definition at line 53 of file BD_String_SArgument_T.cpp.
{ if (this->x_.in () != 0 && ACE_OS::strlen (this->x_.in ()) > BOUND) { throw ::CORBA::BAD_PARAM (); } return cdr << this->x_.in (); }
S_var TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::x_ [private] |
Definition at line 78 of file BD_String_SArgument_T.h.