Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO::Argument Class Reference

Base class for argument class templates. More...

#include <Argument.h>

Inheritance diagram for TAO::Argument:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Argument (void)
 Destructor.
virtual CORBA::Boolean marshal (TAO_OutputCDR &)
 Marshal the argument into the given CDR output stream.
virtual CORBA::Boolean demarshal (TAO_InputCDR &)
 Demarshal the argument from the given CDR input stream.
Portable Interceptor Related Methods
These methods are only used when setting up PortableInterceptor::RequestInfo instances with the appropriate operation-specific parameter list and return value, if either or both exist.

virtual void interceptor_param (Dynamic::Parameter &)
 Populate the given Dynamic::Parameter argument.
virtual void interceptor_result (CORBA::Any *)
 Populate the given CORBA::Any result argument.

Detailed Description

Base class for argument class templates.

Argument subclasses override the virtual methods appropriately. For example, a stub "IN" argument class template would override the marshal() method, but wouldn't need to override the demarshal() method.


Constructor & Destructor Documentation

TAO::Argument::~Argument void   )  [virtual]
 

Destructor.


Member Function Documentation

CORBA::Boolean TAO::Argument::demarshal TAO_InputCDR  )  [virtual]
 

Demarshal the argument from the given CDR input stream.

Note:
The default implementation simply returns true.

Reimplemented in TAO::Inout_Basic_Argument_T< S >, TAO::Out_Basic_Argument_T< S >, TAO::Ret_Basic_Argument_T< S >, TAO::Inout_BD_String_Argument_T< S, to_S, from_S, BOUND >, TAO::Out_BD_String_Argument_T< S, S_out, to_S, from_S, BOUND >, TAO::Ret_BD_String_Argument_T< S, S_var, to_S, from_S, BOUND >, TAO::Inout_Fixed_Array_Argument_T< S, S_slice, S_forany >, TAO::Out_Fixed_Array_Argument_T< S, S_slice, S_forany >, TAO::Ret_Fixed_Array_Argument_T< S, S_slice, S_var, S_forany, S_tag >, TAO::Inout_Fixed_Size_Argument_T< S >, TAO::Out_Fixed_Size_Argument_T< S >, TAO::Ret_Fixed_Size_Argument_T< S >, TAO::Ret_Object_Argument_T< CORBA::Object_ptr, CORBA::Object_var >, TAO::Inout_Object_Argument_T< S_ptr, S_traits >, TAO::Out_Object_Argument_T< S_ptr, S_out >, TAO::Ret_Object_Argument_T< S_ptr, S_var >, TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S >, TAO::Out_Special_Basic_Argument_T< S, to_S, from_S >, TAO::Ret_Special_Basic_Argument_T< S, to_S, from_S >, TAO::Inout_UB_String_Argument_T< S >, TAO::Out_UB_String_Argument_T< S, S_out >, TAO::Ret_UB_String_Argument_T< S, S_var >, TAO::Inout_Var_Array_Argument_T< S, S_slice, S_forany >, TAO::Out_Var_Array_Argument_T< S, S_slice, S_var, S_out, S_forany, S_tag >, TAO::Ret_Var_Array_Argument_T< S, S_slice, S_var, S_forany, S_tag >, TAO::Inout_Var_Size_Argument_T< S >, TAO::Out_Var_Size_Argument_T< S, S_out >, and TAO::Ret_Var_Size_Argument_T< S, S_var >.

void TAO::Argument::interceptor_param Dynamic::Parameter  )  [virtual]
 

Populate the given Dynamic::Parameter argument.

Note:
The default implementation is a no-op.

Reimplemented in TAO::In_Basic_Argument_T< S >, TAO::Inout_Basic_Argument_T< S >, TAO::Out_Basic_Argument_T< S >, TAO::In_BD_String_Argument_T< S, to_S, from_S, BOUND >, TAO::Inout_BD_String_Argument_T< S, to_S, from_S, BOUND >, TAO::Out_BD_String_Argument_T< S, S_out, to_S, from_S, BOUND >, TAO::In_Fixed_Array_Argument_T< S, S_slice, S_forany >, TAO::Inout_Fixed_Array_Argument_T< S, S_slice, S_forany >, TAO::Out_Fixed_Array_Argument_T< S, S_slice, S_forany >, TAO::In_Fixed_Size_Argument_T< S >, TAO::Inout_Fixed_Size_Argument_T< S >, TAO::Out_Fixed_Size_Argument_T< S >, TAO::In_Object_Argument_T< S_ptr >, TAO::Inout_Object_Argument_T< S_ptr, S_traits >, TAO::Out_Object_Argument_T< S_ptr, S_out >, TAO::In_Special_Basic_Argument_T< S, to_S, from_S >, TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S >, TAO::Out_Special_Basic_Argument_T< S, to_S, from_S >, TAO::In_UB_String_Argument_T< S >, TAO::Inout_UB_String_Argument_T< S >, TAO::Out_UB_String_Argument_T< S, S_out >, TAO::In_Var_Array_Argument_T< S, S_slice, S_forany >, TAO::Inout_Var_Array_Argument_T< S, S_slice, S_forany >, TAO::Out_Var_Array_Argument_T< S, S_slice, S_var, S_out, S_forany, S_tag >, TAO::In_Var_Size_Argument_T< S >, TAO::Inout_Var_Size_Argument_T< S >, and TAO::Out_Var_Size_Argument_T< S, S_out >.

void TAO::Argument::interceptor_result CORBA::Any  )  [virtual]
 

Populate the given CORBA::Any result argument.

Note:
The default implementation is a no-op.

Reimplemented in TAO::Ret_Basic_Argument_T< S >, TAO::Ret_BD_String_Argument_T< S, S_var, to_S, from_S, BOUND >, TAO::Ret_Fixed_Array_Argument_T< S, S_slice, S_var, S_forany, S_tag >, TAO::Ret_Fixed_Size_Argument_T< S >, TAO::Ret_Object_Argument_T< CORBA::Object_ptr, CORBA::Object_var >, TAO::Ret_Object_Argument_T< S_ptr, S_var >, TAO::Ret_Special_Basic_Argument_T< S, to_S, from_S >, TAO::Ret_UB_String_Argument_T< S, S_var >, TAO::Ret_Var_Array_Argument_T< S, S_slice, S_var, S_forany, S_tag >, and TAO::Ret_Var_Size_Argument_T< S, S_var >.

CORBA::Boolean TAO::Argument::marshal TAO_OutputCDR  )  [virtual]
 

Marshal the argument into the given CDR output stream.

Note:
The default implementation simply returns true.

Reimplemented in TAO::In_Basic_Argument_T< S >, TAO::Inout_Basic_Argument_T< S >, TAO::In_BD_String_Argument_T< S, to_S, from_S, BOUND >, TAO::Inout_BD_String_Argument_T< S, to_S, from_S, BOUND >, TAO::In_Fixed_Array_Argument_T< S, S_slice, S_forany >, TAO::Inout_Fixed_Array_Argument_T< S, S_slice, S_forany >, TAO::In_Fixed_Size_Argument_T< S >, TAO::Inout_Fixed_Size_Argument_T< S >, TAO::In_Object_Argument_T< S_ptr >, TAO::Inout_Object_Argument_T< S_ptr, S_traits >, TAO::In_Special_Basic_Argument_T< S, to_S, from_S >, TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S >, TAO::In_UB_String_Argument_T< S >, TAO::Inout_UB_String_Argument_T< S >, TAO::In_Var_Array_Argument_T< S, S_slice, S_forany >, TAO::Inout_Var_Array_Argument_T< S, S_slice, S_forany >, TAO::In_Var_Size_Argument_T< S >, and TAO::Inout_Var_Size_Argument_T< S >.


The documentation for this class was generated from the following files:
Generated on Thu Jun 9 00:18:53 2005 for TAO by  doxygen 1.3.9.1