Public Member Functions | Protected Attributes

TAO::In_Var_Size_Argument_T< S, Insert_Policy > Class Template Reference

Template class for IN stub argument of fixed size IDL types. More...

#include <Var_Size_Argument_T.h>

Inheritance diagram for TAO::In_Var_Size_Argument_T< S, Insert_Policy >:
Inheritance graph
[legend]
Collaboration diagram for TAO::In_Var_Size_Argument_T< S, Insert_Policy >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 In_Var_Size_Argument_T (S const &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 const & arg (void) const

Protected Attributes

const S * x_
Insert_Policy< S > insert_policy_

Detailed Description

template<typename S, template< typename > class Insert_Policy>
class TAO::In_Var_Size_Argument_T< S, Insert_Policy >

Template class for IN stub argument of fixed size IDL types.

Definition at line 36 of file Var_Size_Argument_T.h.


Constructor & Destructor Documentation

template<typename S , template< typename > class Insert_Policy>
TAO::In_Var_Size_Argument_T< S, Insert_Policy >::In_Var_Size_Argument_T ( S const &  x  ) 

Definition at line 10 of file Var_Size_Argument_T.inl.

  : x_ (&x)
{
}


Member Function Documentation

template<typename S , template< typename > class Insert_Policy>
const S & TAO::In_Var_Size_Argument_T< S, Insert_Policy >::arg ( void   )  const

Definition at line 19 of file Var_Size_Argument_T.inl.

{
  return *this->x_;
}

template<typename S , template< typename > class Insert_Policy>
void TAO::In_Var_Size_Argument_T< S, 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 28 of file Var_Size_Argument_T.cpp.

{
  Insert_Policy<S>::any_insert (any, *this->x_);
}

template<typename S , template< typename > class Insert_Policy>
CORBA::Boolean TAO::In_Var_Size_Argument_T< S, Insert_Policy >::marshal ( TAO_OutputCDR cdr  )  [virtual]

Marshal the argument into the given CDR output stream.

Note:
The default implementation simply returns true.

Reimplemented from TAO::Argument.

Definition at line 18 of file Var_Size_Argument_T.cpp.

{
  return cdr << *this->x_;
}


Member Data Documentation

template<typename S , template< typename > class Insert_Policy>
Insert_Policy<S> TAO::In_Var_Size_Argument_T< S, Insert_Policy >::insert_policy_ [protected]

Definition at line 50 of file Var_Size_Argument_T.h.

template<typename S , template< typename > class Insert_Policy>
const S* TAO::In_Var_Size_Argument_T< S, Insert_Policy >::x_ [protected]

Definition at line 48 of file Var_Size_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