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

CORBA_TypeCode::Bounds Class Reference

#include <Typecode.h>

Inheritance diagram for CORBA_TypeCode::Bounds:

Inheritance graph
[legend]
Collaboration diagram for CORBA_TypeCode::Bounds:

Collaboration graph
[legend]
List of all members.

Public Methods

 Bounds (void)
virtual CORBA::Exception_tao_duplicate (void) const
 Deep copy. More...

virtual void _raise (void)
virtual void _tao_encode (TAO_OutputCDR &cdr ACE_ENV_ARG_DECL_NOT_USED) const
virtual void _tao_decode (TAO_InputCDR &cdr ACE_ENV_ARG_DECL_NOT_USED)

Static Public Methods

Bounds * _downcast (CORBA_Exception *ex)
 The narrow operation. More...

CORBA::Exception_alloc (void)

Constructor & Destructor Documentation

CORBA_TypeCode::Bounds::Bounds void   
 

Definition at line 35 of file Typecode.cpp.

00036   : CORBA_UserException ("IDL:omg.org/CORBA/TypeCode/Bounds:1.0",
00037                          "Bounds")
00038 {
00039 }


Member Function Documentation

CORBA::Exception * CORBA_TypeCode::Bounds::_alloc void    [static]
 

Definition at line 49 of file Typecode.cpp.

References ACE_NEW_RETURN.

00050 {
00051   CORBA::Exception *retval = 0;
00052   ACE_NEW_RETURN (retval, ::CORBA_TypeCode::Bounds, 0);
00053   return retval;
00054 }

CORBA_TypeCode::Bounds * CORBA_TypeCode::Bounds::_downcast CORBA_Exception   ex [static]
 

The narrow operation.

Reimplemented from CORBA_UserException.

Definition at line 42 of file Typecode.cpp.

References CORBA_Exception::_is_a.

00043 {
00044   if (ex->_is_a ("IDL:omg.org/CORBA/TypeCode/Bounds:1.0"))
00045     return ACE_dynamic_cast (CORBA_TypeCode::Bounds*, ex);
00046   return 0;
00047 }

void CORBA_TypeCode::Bounds::_raise void    [virtual]
 

Implements CORBA_Exception.

Definition at line 68 of file Typecode.cpp.

References TAO_RAISE.

00069 {
00070   TAO_RAISE(*this);
00071 }

virtual void CORBA_TypeCode::Bounds::_tao_decode TAO_InputCDR &cdr    ACE_ENV_ARG_DECL_NOT_USED [virtual]
 

Implements CORBA_Exception.

CORBA::Exception * CORBA_TypeCode::Bounds::_tao_duplicate void    const [virtual]
 

Deep copy.

The following operation is used in the implementation of it performs a deep copy of the exception, normally it is implemented as:

 class SomeException : public // Derives from CORBA_Exception
 {
 public:
   virtual CORBA_Exception *_tao_duplicate (void) const
   {
     return new SomeException (*this);
   }
 };
 

Implements CORBA_Exception.

Definition at line 57 of file Typecode.cpp.

References ACE_NEW_RETURN.

00058 {
00059   CORBA::Exception *result;
00060   ACE_NEW_RETURN (
00061       result,
00062       CORBA_TypeCode::Bounds (*this),
00063       0
00064     );
00065   return result;
00066 }

void CORBA_TypeCode::Bounds::_tao_encode TAO_OutputCDR &cdr    ACE_ENV_ARG_DECL_NOT_USED const [virtual]
 

Implements CORBA_Exception.

Definition at line 73 of file Typecode.cpp.

References CORBA_Exception::_rep_id, ACE_ENV_ARG_DECL, and ACE_THROW.

00077 {
00078   if (cdr << this->_rep_id ())
00079     {
00080       return;
00081     }
00082 
00083   ACE_THROW (CORBA::MARSHAL ());
00084 }


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