Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

TAO_AMH_DSI_Exception_Holder Class Reference

This is the class for holding exception. More...

#include <AMH_DSI_Response_Handler.h>

Inheritance diagram for TAO_AMH_DSI_Exception_Holder:
Inheritance graph
[legend]
Collaboration diagram for TAO_AMH_DSI_Exception_Holder:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
TAO_AMH_DSI_Exception_Holder_var 
_var_type

Public Member Functions

 TAO_AMH_DSI_Exception_Holder (CORBA::Exception *ex)
virtual ~TAO_AMH_DSI_Exception_Holder (void)
virtual const char * _tao_obv_repository_id (void) const
 Return the repository id of this valuetype.
virtual void raise_invoke ()
CORBA::TypeCode_ptr _tao_type (void) const
void _tao_obv_truncatable_repo_ids (Repository_Id_List &) const
CORBA::Boolean _tao_match_formal_type (ptrdiff_t) const

Static Public Member Functions

static
TAO_AMH_DSI_Exception_Holder
_downcast (CORBA::ValueBase *)
static CORBA::Boolean _tao_unmarshal (TAO_InputCDR &, TAO_AMH_DSI_Exception_Holder *&)
static const char * _tao_obv_static_repository_id (void)
static void _tao_any_destructor (void *)
 TAO extension.

Protected Member Functions

 TAO_AMH_DSI_Exception_Holder (void)
virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) const
 *** Terrible Hack ? ***
virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &)
 Called after obtaining the fresh object from create_for_unmarshal ().
virtual CORBA::Boolean _tao_marshal__Test_TAO_AMH_DSI_Exception_Holder (TAO_OutputCDR &)
virtual CORBA::Boolean _tao_unmarshal__Test_TAO_AMH_DSI_Exception_Holder (TAO_InputCDR &)

Private Member Functions

 TAO_AMH_DSI_Exception_Holder (const TAO_AMH_DSI_Exception_Holder &)
void operator= (const TAO_AMH_DSI_Exception_Holder &)

Private Attributes

CORBA::Exceptionexception_

Detailed Description

This is the class for holding exception.

Definition at line 145 of file AMH_DSI_Response_Handler.h.


Member Typedef Documentation

Reimplemented from CORBA::ValueBase.

Definition at line 150 of file AMH_DSI_Response_Handler.h.


Constructor & Destructor Documentation

TAO_AMH_DSI_Exception_Holder::TAO_AMH_DSI_Exception_Holder ( CORBA::Exception ex  ) 

Definition at line 32 of file AMH_DSI_Response_Handler.cpp.

  : exception_ (ex)
{
}

TAO_AMH_DSI_Exception_Holder::~TAO_AMH_DSI_Exception_Holder ( void   )  [virtual]

Definition at line 37 of file AMH_DSI_Response_Handler.cpp.

{
}

TAO_AMH_DSI_Exception_Holder::TAO_AMH_DSI_Exception_Holder ( void   )  [protected]
TAO_AMH_DSI_Exception_Holder::TAO_AMH_DSI_Exception_Holder ( const TAO_AMH_DSI_Exception_Holder  )  [private]

Member Function Documentation

TAO_AMH_DSI_Exception_Holder * TAO_AMH_DSI_Exception_Holder::_downcast ( CORBA::ValueBase v  )  [static]

Reimplemented from CORBA::ValueBase.

Definition at line 234 of file AMH_DSI_Response_Handler.cpp.

{
  return dynamic_cast < TAO_AMH_DSI_Exception_Holder * >(v);
}

void TAO_AMH_DSI_Exception_Holder::_tao_any_destructor ( void *  x  )  [static]

TAO extension.

Used in the implementation of CORBA::Any

Reimplemented from CORBA::ValueBase.

Definition at line 246 of file AMH_DSI_Response_Handler.cpp.

{
  TAO_AMH_DSI_Exception_Holder *tmp =
    static_cast<TAO_AMH_DSI_Exception_Holder *> (_tao_void_pointer);
  delete tmp;
}

CORBA::Boolean TAO_AMH_DSI_Exception_Holder::_tao_marshal__Test_TAO_AMH_DSI_Exception_Holder ( TAO_OutputCDR  )  [protected, virtual]

Definition at line 511 of file AMH_DSI_Response_Handler.cpp.

{
  return true;
}

CORBA::Boolean TAO_AMH_DSI_Exception_Holder::_tao_marshal_v ( TAO_OutputCDR  )  const [protected, virtual]

*** Terrible Hack ? ***

Implements CORBA::ValueBase.

Definition at line 499 of file AMH_DSI_Response_Handler.cpp.

{
  return true;
}

CORBA::Boolean TAO_AMH_DSI_Exception_Holder::_tao_match_formal_type ( ptrdiff_t   )  const [virtual]

Compare the supplied formal type identifier with our actual type. This is used during marshaling of valuetypes to detect when it is appropriate to not explicitly marshal the typecode for the value.

Implements CORBA::ValueBase.

Definition at line 493 of file AMH_DSI_Response_Handler.cpp.

{
  return false;
}

const char * TAO_AMH_DSI_Exception_Holder::_tao_obv_repository_id ( void   )  const [virtual]

Return the repository id of this valuetype.

Implements CORBA::ValueBase.

Definition at line 240 of file AMH_DSI_Response_Handler.cpp.

{
  return this->_tao_obv_static_repository_id ();
}

const char * TAO_AMH_DSI_Exception_Holder::_tao_obv_static_repository_id ( void   )  [static]

Definition at line 27 of file AMH_DSI_Response_Handler.cpp.

{
  return "IDL:TAO_AMH_DSI_Exception_Holder:1.0";
}

void TAO_AMH_DSI_Exception_Holder::_tao_obv_truncatable_repo_ids ( Repository_Id_List  )  const [virtual]

Give the list of the RepositoryIds in the valuetype "truncatable" inheritance hierarchy. List the id of this valuetype as first RepositoryID and go up the "truncatable" derivation hierarchy. Note the truncatable repo ids only list the truncatable base types to which this type is safe to truncate, not all its parents.

Implements CORBA::ValueBase.

Definition at line 487 of file AMH_DSI_Response_Handler.cpp.

{
}

CORBA::TypeCode_ptr TAO_AMH_DSI_Exception_Holder::_tao_type ( void   )  const [virtual]

Implements CORBA::ValueBase.

Definition at line 481 of file AMH_DSI_Response_Handler.cpp.

{
  return 0;
}

CORBA::Boolean TAO_AMH_DSI_Exception_Holder::_tao_unmarshal ( TAO_InputCDR strm,
TAO_AMH_DSI_Exception_Holder *&  new_object 
) [static]

Definition at line 254 of file AMH_DSI_Response_Handler.cpp.

{
  ::CORBA::ValueBase *base = 0;
  ::CORBA::Boolean is_indirected = 0;
  ::CORBA::Boolean is_null_object = 0;
  ::CORBA::Boolean const retval =
    ::CORBA::ValueBase::_tao_unmarshal_pre (
        strm,
        base,
        TAO_AMH_DSI_Exception_Holder::_tao_obv_static_repository_id (),
        is_null_object,
        is_indirected
      );

  ::CORBA::ValueBase_var owner (base);

  if (!retval)
    return 0;

  if (is_null_object)
    return 1;

  if (!is_indirected && base != 0 && ! base->_tao_unmarshal_v (strm))
    return 0;


  // Now base must be null or point to the unmarshaled object.
  // Align the pointer to the right subobject.
  new_object = TAO_AMH_DSI_Exception_Holder::_downcast (base);
  if (is_indirected)
    new_object->_add_ref ();

  owner._retn ();
  return 1;
}

CORBA::Boolean TAO_AMH_DSI_Exception_Holder::_tao_unmarshal__Test_TAO_AMH_DSI_Exception_Holder ( TAO_InputCDR  )  [protected, virtual]

Definition at line 518 of file AMH_DSI_Response_Handler.cpp.

{
  return true;
}

CORBA::Boolean TAO_AMH_DSI_Exception_Holder::_tao_unmarshal_v ( TAO_InputCDR  )  [protected, virtual]

Called after obtaining the fresh object from create_for_unmarshal ().

Implements CORBA::ValueBase.

Definition at line 505 of file AMH_DSI_Response_Handler.cpp.

{
  return true;
}

void TAO_AMH_DSI_Exception_Holder::operator= ( const TAO_AMH_DSI_Exception_Holder  )  [private]
void TAO_AMH_DSI_Exception_Holder::raise_invoke (  )  [virtual]

Definition at line 293 of file AMH_DSI_Response_Handler.cpp.

{
  this->exception_->_raise ();
}


Member Data Documentation

Definition at line 179 of file AMH_DSI_Response_Handler.h.


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