Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / AnyTypeCode / ExceptionA.h
blob91ffbc797db75d4cd1826a3f4bb4bb75bb604ba7
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file ExceptionA.h
7 * This file defines way in which CORBA exceptions are reported.
9 * @author DOC Group at Vanderbilt U., Wash U, and UCI
11 //=============================================================================
13 #ifndef TAO_EXCEPTIONA_H
14 #define TAO_EXCEPTIONA_H
16 #include /**/ "ace/pre.h"
18 // Do not try removing this. If you remove this for subsetting lots of
19 // things go wrong in TAO.
20 #include "tao/orbconf.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "tao/AnyTypeCode/TAO_AnyTypeCode_Export.h"
27 #include "tao/Exception.h"
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 namespace CORBA
33 class Any;
34 typedef Any *Any_ptr;
36 TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, const CORBA::Exception &);
37 TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, CORBA::Exception *);
40 TAO_END_VERSIONED_NAMESPACE_DECL
42 #include /**/"ace/post.h"
44 #endif /* TAO_EXCEPTIONA_H */