Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Marshal_Alias Class Reference

TAO_Marshal_Alias. More...

#include <Marshal.h>

Inheritance diagram for TAO_Marshal_Alias:

Inheritance graph
[legend]
Collaboration diagram for TAO_Marshal_Alias:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_Marshal_Alias (void)
virtual CORBA::TypeCode::traverse_status skip (CORBA::TypeCode_ptr tc, TAO_InputCDR *context ACE_ENV_ARG_DECL)
 skip operation. More...

virtual CORBA::TypeCode::traverse_status append (CORBA::TypeCode_ptr tc, TAO_InputCDR *src, TAO_OutputCDR *dest ACE_ENV_ARG_DECL)
 append operation. More...


Detailed Description

TAO_Marshal_Alias.

marshal an alias

Definition at line 355 of file Marshal.h.


Constructor & Destructor Documentation

ACE_INLINE TAO_Marshal_Alias::TAO_Marshal_Alias void   
 

Definition at line 59 of file Marshal.i.

00060 {
00061 }


Member Function Documentation

CORBA::TypeCode::traverse_status TAO_Marshal_Alias::append CORBA::TypeCode_ptr    tc,
TAO_InputCDR   src,
TAO_OutputCDR *dest    ACE_ENV_ARG_DECL
[virtual]
 

append operation.

Implements TAO_Marshal_Object.

Definition at line 1053 of file append.cpp.

References ACE_CHECK_RETURN, ACE_DEBUG, ACE_ENV_ARG_DECL, ACE_ENV_ARG_PARAMETER, ACE_ENV_SINGLE_ARG_PARAMETER, ACE_TEXT, ACE_THROW_RETURN, LM_DEBUG, TAO_Marshal_Object::perform_append, and TAO_DEFAULT_MINOR_CODE.

Referenced by TAO_Marshal_Object::perform_append.

01057 {
01058   // Typecode of the aliased type.
01059   CORBA::TypeCode_var tc2;
01060   CORBA::Boolean continue_append = 1;
01061 
01062   // Status of decode operation.
01063   CORBA::TypeCode::traverse_status retval =
01064     CORBA::TypeCode::TRAVERSE_CONTINUE;
01065 
01066   tc2 = tc->content_type (ACE_ENV_SINGLE_ARG_PARAMETER);
01067   ACE_CHECK_RETURN (CORBA::TypeCode::TRAVERSE_STOP);
01068 
01069   retval = TAO_Marshal_Object::perform_append (tc2.in (),
01070                                                src,
01071                                                dest
01072                                                 ACE_ENV_ARG_PARAMETER);
01073   ACE_CHECK_RETURN (CORBA::TypeCode::TRAVERSE_STOP);
01074 
01075   if (retval == CORBA::TypeCode::TRAVERSE_CONTINUE
01076       && continue_append == 1)
01077     return CORBA::TypeCode::TRAVERSE_CONTINUE;
01078 
01079   if (TAO_debug_level > 0)
01080     ACE_DEBUG ((LM_DEBUG,
01081                 ACE_TEXT ("TAO_Marshal_Alias::append detected error\n")));
01082   ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE,
01083                                     CORBA::COMPLETED_MAYBE),
01084                     CORBA::TypeCode::TRAVERSE_STOP);
01085 }

virtual CORBA::TypeCode::traverse_status TAO_Marshal_Alias::skip CORBA::TypeCode_ptr    tc,
TAO_InputCDR *context    ACE_ENV_ARG_DECL
[virtual]
 

skip operation.

Implements TAO_Marshal_Object.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:28:13 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002