Public Member Functions | Private Attributes

TAO::Out_UB_String_Argument_T< S_var, Insert_Policy > Class Template Reference

Template class for OUT unbounded (w)string argument. More...

#include <UB_String_Argument_T.h>

Inheritance diagram for TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >:
Inheritance graph
[legend]
Collaboration diagram for TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Out_UB_String_Argument_T (typename S_var::s_traits::string_out &x)
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::s_traits::char_type *& x_

Detailed Description

template<typename S_var, template< typename > class Insert_Policy>
class TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >

Template class for OUT unbounded (w)string argument.

Definition at line 106 of file UB_String_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_var , template< typename > class Insert_Policy>
TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >::Out_UB_String_Argument_T ( typename S_var::s_traits::string_out &  x  ) 

Definition at line 59 of file UB_String_Argument_T.inl.

  : x_ (x.ptr ())
{}


Member Function Documentation

template<typename S_var , template< typename > class Insert_Policy>
S_var::s_traits::char_type *& TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >::arg ( void   ) 

Definition at line 68 of file UB_String_Argument_T.inl.

{
  return this->x_;
}

template<typename S_var , template< typename > class Insert_Policy>
CORBA::Boolean TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >::demarshal ( TAO_InputCDR  )  [virtual]

Demarshal the argument from the given CDR input stream.

Note:
The default implementation simply returns true.

Reimplemented from TAO::Argument.

Definition at line 104 of file UB_String_Argument_T.cpp.

{
  return cdr >> this->x_;
}

template<typename S_var , template< typename > class Insert_Policy>
void TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >::interceptor_value ( CORBA::Any  )  const [virtual]

Populate the given CORBA::Any result argument.

Note:
The default implementation is a no-op.

Reimplemented from TAO::Argument.

Definition at line 114 of file UB_String_Argument_T.cpp.

{
  Insert_Policy<typename S_var::s_traits::char_type const *>::any_insert (any, this->x_);
}


Member Data Documentation

template<typename S_var , template< typename > class Insert_Policy>
S_var::s_traits::char_type*& TAO::Out_UB_String_Argument_T< S_var, Insert_Policy >::x_ [private]

Definition at line 118 of file UB_String_Argument_T.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines