Template class for IN bounded (w)string argument. More...
#include <BD_String_Argument_T.h>


Public Member Functions | |
| In_BD_String_Argument_T (const typename S_var::s_traits::char_type *x) | |
| virtual CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
| Marshal the argument into the given CDR output stream. | |
| virtual void | interceptor_value (CORBA::Any *any) const |
| Populate the given CORBA::Any result argument. | |
| S_var::s_traits::char_type const * | arg (void) const |
Protected Attributes | |
| S_var::s_traits::char_type const * | x_ |
Template class for IN bounded (w)string argument.
Definition at line 41 of file BD_String_Argument_T.h.
| TAO::In_BD_String_Argument_T< S_var, BOUND, Insert_Policy >::In_BD_String_Argument_T | ( | const typename S_var::s_traits::char_type * | x | ) |
Definition at line 11 of file BD_String_Argument_T.inl.
: x_ (x) { }
| const S_var::s_traits::char_type * TAO::In_BD_String_Argument_T< S_var, BOUND, Insert_Policy >::arg | ( | void | ) | const |
Definition at line 22 of file BD_String_Argument_T.inl.
{
return this->x_;
}
| void TAO::In_BD_String_Argument_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 35 of file BD_String_Argument_T.cpp.
{
typedef typename S_var::s_traits::from_type from_type;
Insert_Policy<from_type>::any_insert (
any,
from_type (this->x_, BOUND));
}
| CORBA::Boolean TAO::In_BD_String_Argument_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 19 of file BD_String_Argument_T.cpp.
{
if (this->x_ != 0 && ACE_OS::strlen (this->x_) > BOUND)
{
throw ::CORBA::BAD_PARAM ();
}
return cdr << this->x_;
}
S_var::s_traits::char_type const* TAO::In_BD_String_Argument_T< S_var, BOUND, Insert_Policy >::x_ [protected] |
Definition at line 55 of file BD_String_Argument_T.h.
1.7.0