From 7bef7f56224e466006c7cb9f0b6f0f2565e2e938 Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 17 Oct 1998 02:24:56 +0000 Subject: . --- TAO/tao/Align.h | 2 +- TAO/tao/Any.h | 2 +- TAO/tao/CDR.h | 2 +- TAO/tao/Client_Strategy_Factory.h | 2 +- TAO/tao/Connect.h | 2 +- TAO/tao/CurrentC.h | 9 +++++---- TAO/tao/DynAnyC.h | 4 ++-- TAO/tao/DynAny_i.h | 2 +- TAO/tao/DynArray_i.h | 40 +++++++++++++++++++-------------------- TAO/tao/DynEnum_i.h | 2 +- TAO/tao/DynSequence_i.h | 2 +- TAO/tao/DynStruct_i.h | 2 +- TAO/tao/DynUnion_i.h | 2 +- TAO/tao/DynUnion_i_T.h | 2 +- TAO/tao/Environment.h | 2 +- TAO/tao/Exception.h | 2 +- TAO/tao/Forwarding_Servant.h | 2 +- TAO/tao/GIOP.h | 2 +- TAO/tao/IIOP_Interpreter.h | 2 +- TAO/tao/IIOP_ORB.h | 2 +- TAO/tao/IIOP_Object.h | 2 +- TAO/tao/InconsistentTypeCodeC.h | 6 +++--- TAO/tao/Invocation.h | 2 +- TAO/tao/Marshal.h | 2 +- TAO/tao/NVList.h | 2 +- TAO/tao/ORB.h | 2 +- TAO/tao/ORB_Core.h | 2 +- TAO/tao/ORB_Strategies_T.h | 2 +- TAO/tao/Object.h | 6 +++--- TAO/tao/Object_KeyC.h | 6 +++--- TAO/tao/Object_Table.h | 2 +- TAO/tao/Operation_Table.h | 2 +- TAO/tao/POA.h | 6 +++--- TAO/tao/POAC.h | 2 +- TAO/tao/POAS.h | 2 +- TAO/tao/POA_CORBA.h | 7 ++++--- TAO/tao/PolicyC.h | 14 +++++--------- TAO/tao/Principal.h | 2 +- TAO/tao/Request.h | 2 +- TAO/tao/Sequence.h | 2 +- TAO/tao/Sequence_T.h | 2 +- TAO/tao/Servant_Base.h | 6 +++--- TAO/tao/Server_Request.h | 2 +- TAO/tao/Server_Strategy_Factory.h | 2 +- TAO/tao/Stub.h | 2 +- TAO/tao/TAO.h | 2 +- TAO/tao/TAO_Internal.h | 2 +- TAO/tao/Timeprobe.h | 2 +- TAO/tao/Typecode.h | 2 +- TAO/tao/Union.h | 2 +- TAO/tao/corba.h | 2 +- TAO/tao/debug.h | 2 +- TAO/tao/default_client.h | 2 +- TAO/tao/default_server.h | 2 +- TAO/tao/orbconf.h | 2 +- TAO/tao/params.h | 2 +- TAO/tao/poa_T.h | 15 +++------------ TAO/tao/poa_macros.h | 6 +++--- TAO/tao/singletons.h | 2 +- TAO/tao/try_macros.h | 2 +- TAO/tao/varout.h | 2 +- 61 files changed, 105 insertions(+), 118 deletions(-) diff --git a/TAO/tao/Align.h b/TAO/tao/Align.h index 34be66cf384..6f5d4e67504 100644 --- a/TAO/tao/Align.h +++ b/TAO/tao/Align.h @@ -22,7 +22,7 @@ // // ============================================================================ -#if !defined (TAO_ALIGN_H) +#ifndef TAO_ALIGN_H #define TAO_ALIGN_H // Type for doing arithmetic on pointers ... as elsewhere, we assume diff --git a/TAO/tao/Any.h b/TAO/tao/Any.h index beaf1ede5df..97ede0fbd00 100644 --- a/TAO/tao/Any.h +++ b/TAO/tao/Any.h @@ -15,7 +15,7 @@ // // ============================================================================ -#if !defined (TAO_ANY_H) +#ifndef TAO_ANY_H #define TAO_ANY_H class TAO_Export CORBA_Any diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h index 2b9bad27554..4b70303ec7c 100644 --- a/TAO/tao/CDR.h +++ b/TAO/tao/CDR.h @@ -41,7 +41,7 @@ // // ============================================================================ -#if !defined (TAO_CDR_H) +#ifndef TAO_CDR_H #define TAO_CDR_H class TAO_Export CDR diff --git a/TAO/tao/Client_Strategy_Factory.h b/TAO/tao/Client_Strategy_Factory.h index abd0f068e57..afa0e0f050b 100644 --- a/TAO/tao/Client_Strategy_Factory.h +++ b/TAO/tao/Client_Strategy_Factory.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_CLIENT_STRATEGY_FACTORY_H) +#ifndef TAO_CLIENT_STRATEGY_FACTORY_H # define TAO_CLIENT_STRATEGY_FACTORY_H class TAO_Client_Strategy_Factory : public ACE_Service_Object diff --git a/TAO/tao/Connect.h b/TAO/tao/Connect.h index c40ba466933..a13284ec412 100644 --- a/TAO/tao/Connect.h +++ b/TAO/tao/Connect.h @@ -1,7 +1,7 @@ // This may look like C, but it's really -*- C++ -*- // $Id$ -#if !defined (TAO_CONNECT_H) +#ifndef TAO_CONNECT_H # define TAO_CONNECT_H // ============================================================================ diff --git a/TAO/tao/CurrentC.h b/TAO/tao/CurrentC.h index 2736188b3eb..c076005f434 100644 --- a/TAO/tao/CurrentC.h +++ b/TAO/tao/CurrentC.h @@ -1,5 +1,6 @@ /* -*- C++ -*- */ // $Id$ + // ============================================================================ // // = LIBRARY @@ -22,10 +23,10 @@ // // ============================================================================ -#if !defined (_TAO_IDL_CURRENTC_H_) -#define _TAO_IDL_CURRENTC_H_ +#ifndef TAO_IDL_CURRENTC_H +#define TAO_IDL_CURRENTC_H -#if !defined (TAO_EXPORT_MACRO) +#ifndef TAO_EXPORT_MACRO #define TAO_EXPORT_MACRO #endif #include "tao/corba.h" @@ -141,4 +142,4 @@ CORBA::Boolean operator>>= (const CORBA::Any &, CORBA_Current *&); #pragma warning(default:4250) #endif /* _MSC_VER */ -#endif /* if !defined */ +#endif /* TAO_IDL_CURRENTC_H */ diff --git a/TAO/tao/DynAnyC.h b/TAO/tao/DynAnyC.h index 72dc24d9e94..6bcda5a3390 100644 --- a/TAO/tao/DynAnyC.h +++ b/TAO/tao/DynAnyC.h @@ -22,8 +22,8 @@ // // ============================================================================ -#if !defined (_TAO_IDL_CORBA_DYNANYC_H_) -#define _TAO_IDL_CORBA_DYNANYC_H_ +#ifndef TAO_IDL_CORBA_DYNANYC_H_ +#define TAO_IDL_CORBA_DYNANYC_H_ #include "tao/corba.h" diff --git a/TAO/tao/DynAny_i.h b/TAO/tao/DynAny_i.h index fd8011d27ed..6c605b9a058 100644 --- a/TAO/tao/DynAny_i.h +++ b/TAO/tao/DynAny_i.h @@ -13,7 +13,7 @@ // // ========================================================================= -#if !defined (TAO_DYNANY_I_H) +#ifndef TAO_DYNANY_I_H #define TAO_DYNANY_I_H #include "tao/corba.h" diff --git a/TAO/tao/DynArray_i.h b/TAO/tao/DynArray_i.h index aaa37e6210a..25b44730fb6 100644 --- a/TAO/tao/DynArray_i.h +++ b/TAO/tao/DynArray_i.h @@ -13,7 +13,7 @@ // // =================================================================== -#if !defined TAO_DYNARRAY_I_H +#ifndef TAO_DYNARRAY_I_H #define TAO_DYNARRAY_I_H #include "ace/Containers.h" @@ -21,33 +21,31 @@ class TAO_Export TAO_DynArray_i : public POA_CORBA::DynArray { public: - TAO_DynArray_i (const CORBA_Any& any); + TAO_DynArray_i (const CORBA_Any& any); + TAO_DynArray_i (CORBA_TypeCode_ptr tc); + ~TAO_DynArray_i (void); - TAO_DynArray_i (CORBA_TypeCode_ptr tc); + // = Functions specific to DynArray - ~TAO_DynArray_i (void); + AnySeq_ptr get_elements (CORBA::Environment& env); - // Functions specific to DynArray - - AnySeq_ptr get_elements (CORBA::Environment& env); - - void set_elements (const AnySeq& value, + void set_elements (const AnySeq& value, CORBA::Environment& env); - // Common functions + // = Common functions - void assign (CORBA_DynAny_ptr dyn_any, + void assign (CORBA_DynAny_ptr dyn_any, CORBA::Environment &env); - CORBA_DynAny_ptr copy (CORBA::Environment &env); + CORBA_DynAny_ptr copy (CORBA::Environment &env); - void destroy (CORBA::Environment &env); + void destroy (CORBA::Environment &env); - void from_any (const CORBA::Any& any, + void from_any (const CORBA::Any& any, CORBA::Environment &env); - CORBA::Any_ptr to_any (CORBA::Environment &env); + CORBA::Any_ptr to_any (CORBA::Environment &env); - CORBA::TypeCode_ptr type (CORBA::Environment &); + CORBA::TypeCode_ptr type (CORBA::Environment &); CORBA_DynAny_ptr current_component (CORBA::Environment &env); @@ -88,7 +86,7 @@ public: CORBA::Environment &env); void insert_string (const char * value, - CORBA::Environment &env); + CORBA::Environment &env); void insert_reference (CORBA::Object_ptr value, CORBA::Environment &env); @@ -100,10 +98,10 @@ public: CORBA::Environment &env); void insert_ulonglong (CORBA::ULongLong value, - CORBA::Environment &env); + CORBA::Environment &env); void insert_wchar (CORBA::WChar value, - CORBA::Environment &env); + CORBA::Environment &env); void insert_any (const CORBA::Any& value, CORBA::Environment &env); @@ -155,10 +153,10 @@ private: ACE_Array da_members_; // Must be instantiated with at least a typecode - TAO_DynArray_i (void); + TAO_DynArray_i (void); // Use copy() or assign() - TAO_DynArray_i (const TAO_DynArray_i &src); + TAO_DynArray_i (const TAO_DynArray_i &src); TAO_DynArray_i & operator= (const TAO_DynArray_i &src); }; diff --git a/TAO/tao/DynEnum_i.h b/TAO/tao/DynEnum_i.h index d25f3c582eb..0904d4a330b 100644 --- a/TAO/tao/DynEnum_i.h +++ b/TAO/tao/DynEnum_i.h @@ -13,7 +13,7 @@ // // ======================================================================== -#if !defined TAO_DYNENUM_I_H +#ifndef TAO_DYNENUM_I_H #define TAO_DYNENUM_I_H #include "ace/Containers.h" diff --git a/TAO/tao/DynSequence_i.h b/TAO/tao/DynSequence_i.h index 52929cced4b..29f9a06bcb7 100644 --- a/TAO/tao/DynSequence_i.h +++ b/TAO/tao/DynSequence_i.h @@ -13,7 +13,7 @@ // // =================================================================== -#if !defined TAO_DYNSEQUENCE_I_H +#ifndef TAO_DYNSEQUENCE_I_H #define TAO_DYNSEQUENCE_I_H #include "ace/Containers.h" diff --git a/TAO/tao/DynStruct_i.h b/TAO/tao/DynStruct_i.h index a0d5359dd6f..c3c936fc261 100644 --- a/TAO/tao/DynStruct_i.h +++ b/TAO/tao/DynStruct_i.h @@ -13,7 +13,7 @@ // // ======================================================================== -#if !defined (TAO_DYNSTRUCT_I_H) +#ifndef (TAO_DYNSTRUCT_I_H) #define TAO_DYNSTRUCT_I_H #include "ace/Containers.h" diff --git a/TAO/tao/DynUnion_i.h b/TAO/tao/DynUnion_i.h index 415de84ac00..e86210b8568 100644 --- a/TAO/tao/DynUnion_i.h +++ b/TAO/tao/DynUnion_i.h @@ -13,7 +13,7 @@ // // ======================================================================== -#if !defined TAO_DYNUNION_I_H +#ifndef TAO_DYNUNION_I_H #define TAO_DYNUNION_I_H #include "tao/DynUnion_i_T.h" diff --git a/TAO/tao/DynUnion_i_T.h b/TAO/tao/DynUnion_i_T.h index f4e4e64d5a6..e48eafc9b71 100644 --- a/TAO/tao/DynUnion_i_T.h +++ b/TAO/tao/DynUnion_i_T.h @@ -12,7 +12,7 @@ // // ==================================================================== -#if !defined TAO_DYNUNION_I_T_H +#ifndef TAO_DYNUNION_I_T_H #define TAO_DYNUNION_I_T_H #include "tao/corba.h" diff --git a/TAO/tao/Environment.h b/TAO/tao/Environment.h index 1374ea30de0..afb0f487b2d 100644 --- a/TAO/tao/Environment.h +++ b/TAO/tao/Environment.h @@ -22,7 +22,7 @@ // // ============================================================================ -#if !defined (TAO_ENVIRONMENT_H) +#ifndef TAO_ENVIRONMENT_H # define TAO_ENVIRONMENT_H class CORBA_Exception; diff --git a/TAO/tao/Exception.h b/TAO/tao/Exception.h index 5fef30ec2fc..06dfcc9f13d 100644 --- a/TAO/tao/Exception.h +++ b/TAO/tao/Exception.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_EXCEPTION_H) +#ifndef TAO_EXCEPTION_H # define TAO_EXCEPTION_H class CORBA_Any; diff --git a/TAO/tao/Forwarding_Servant.h b/TAO/tao/Forwarding_Servant.h index de896dc399d..611f7f9dcb5 100644 --- a/TAO/tao/Forwarding_Servant.h +++ b/TAO/tao/Forwarding_Servant.h @@ -18,7 +18,7 @@ // // ============================================================================ -#if !defined (TAO_FORWARDING_SERVANT_H) +#ifndef TAO_FORWARDING_SERVANT_H #define TAO_FORWARDING_SERVANT_H #include "tao/corba.h" diff --git a/TAO/tao/GIOP.h b/TAO/tao/GIOP.h index 60192ceccb0..e4094d9e765 100644 --- a/TAO/tao/GIOP.h +++ b/TAO/tao/GIOP.h @@ -32,7 +32,7 @@ // // ============================================================================ -#if !defined (TAO_GIOP_H) +#ifndef TAO_GIOP_H # define TAO_GIOP_H class TAO_Export TAO_InputCDR; diff --git a/TAO/tao/IIOP_Interpreter.h b/TAO/tao/IIOP_Interpreter.h index 0b6d9ac7732..adafb4710ca 100644 --- a/TAO/tao/IIOP_Interpreter.h +++ b/TAO/tao/IIOP_Interpreter.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_IIOP_INTERPRETER_H) +#ifndef TAO_IIOP_INTERPRETER_H #define TAO_IIOP_INTERPRETER_H // Useful typedefs. diff --git a/TAO/tao/IIOP_ORB.h b/TAO/tao/IIOP_ORB.h index 8e1b9540f09..4f6263148e2 100644 --- a/TAO/tao/IIOP_ORB.h +++ b/TAO/tao/IIOP_ORB.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_IIOPORB_H) +#ifndef TAO_IIOPORB_H # define TAO_IIOPORB_H #include "tao/corba.h" diff --git a/TAO/tao/IIOP_Object.h b/TAO/tao/IIOP_Object.h index b518215d6a2..0234d6fbd11 100644 --- a/TAO/tao/IIOP_Object.h +++ b/TAO/tao/IIOP_Object.h @@ -21,7 +21,7 @@ // // ============================================================================ -#if !defined (TAO_IIOPOBJ_H) +#ifndef TAO_IIOPOBJ_H # define TAO_IIOPOBJ_H class TAO_GIOP_Invocation; diff --git a/TAO/tao/InconsistentTypeCodeC.h b/TAO/tao/InconsistentTypeCodeC.h index 2c13e0b976c..9a3b273abdb 100644 --- a/TAO/tao/InconsistentTypeCodeC.h +++ b/TAO/tao/InconsistentTypeCodeC.h @@ -22,8 +22,8 @@ // // ============================================================================ -#if !defined (_TAO_IDL_INCONSISTENTTYPECODEC_H_) -#define _TAO_IDL_INCONSISTENTTYPECODEC_H_ +#ifndef TAO_IDL_INCONSISTENTTYPECODEC_H +#define TAO_IDL_INCONSISTENTTYPECODEC_H #include "tao/corba.h" @@ -64,4 +64,4 @@ #pragma warning(default:4250) #endif /* _MSC_VER */ -#endif /* if !defined */ +#endif /* TAO_IDL_INCONSISTENTTYPECODEC_H */ diff --git a/TAO/tao/Invocation.h b/TAO/tao/Invocation.h index 11f2c22e2af..60e1e79965a 100644 --- a/TAO/tao/Invocation.h +++ b/TAO/tao/Invocation.h @@ -24,7 +24,7 @@ // // ============================================================================ -#if !defined (TAO_INVOCATION_H) +#ifndef TAO_INVOCATION_H # define TAO_INVOCATION_H #include "tao/CDR.h" diff --git a/TAO/tao/Marshal.h b/TAO/tao/Marshal.h index 533b647e466..bd159f68c3b 100644 --- a/TAO/tao/Marshal.h +++ b/TAO/tao/Marshal.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_MARSHAL_H) +#ifndef TAO_MARSHAL_H #define TAO_MARSHAL_H CORBA::TypeCode::traverse_status diff --git a/TAO/tao/NVList.h b/TAO/tao/NVList.h index ea2ddc39131..e6cd2ff61b1 100644 --- a/TAO/tao/NVList.h +++ b/TAO/tao/NVList.h @@ -16,7 +16,7 @@ // // ============================================================================ -#if !defined (TAO_NVLIST_H) +#ifndef TAO_NVLIST_H # define TAO_NVLIST_H class TAO_Export CORBA_NamedValue diff --git a/TAO/tao/ORB.h b/TAO/tao/ORB.h index 34c11142e44..4b39aeba081 100644 --- a/TAO/tao/ORB.h +++ b/TAO/tao/ORB.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_ORB_H) +#ifndef TAO_ORB_H # define TAO_ORB_H #include "tao/corba.h" diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h index ad32d380f9c..81f90b6fdf0 100644 --- a/TAO/tao/ORB_Core.h +++ b/TAO/tao/ORB_Core.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_ORB_CORE_H) +#ifndef TAO_ORB_CORE_H # define TAO_ORB_CORE_H # include "tao/corba.h" diff --git a/TAO/tao/ORB_Strategies_T.h b/TAO/tao/ORB_Strategies_T.h index 1e9060ac3ba..2485fe7f2c5 100644 --- a/TAO/tao/ORB_Strategies_T.h +++ b/TAO/tao/ORB_Strategies_T.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_ORB_STRATEGIES_T_H) +#ifndef TAO_ORB_STRATEGIES_T_H # define TAO_ORB_STRATEGIES_T_H #include "ace/Strategies_T.h" diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h index 67979dd70ec..d8d4aead193 100644 --- a/TAO/tao/Object.h +++ b/TAO/tao/Object.h @@ -22,8 +22,8 @@ // // ============================================================================ -#if !defined (CORBA_OBJECT_H) -# define CORBA_OBJECT_H +#ifndef TAO_CORBA_OBJECT_H +# define TAO_CORBA_OBJECT_H class TAO_ServantBase; class STUB_Object; @@ -237,4 +237,4 @@ public: # include "tao/Object.i" #endif /* __ACE_INLINE__ */ -#endif /* CORBA_OBJECT_H */ +#endif /* TAO_CORBA_OBJECT_H */ diff --git a/TAO/tao/Object_KeyC.h b/TAO/tao/Object_KeyC.h index ed90e164db0..03976bba051 100644 --- a/TAO/tao/Object_KeyC.h +++ b/TAO/tao/Object_KeyC.h @@ -10,8 +10,8 @@ // Information on TAO is available at // http://www.cs.wustl.edu/~schmidt/TAO.html -#if !defined (_TAO_IDL_OBJECT_KEYC_H_) -#define _TAO_IDL_OBJECT_KEYC_H_ +#ifndef TAO_IDL_OBJECT_KEYC_H +#define TAO_IDL_OBJECT_KEYC_H #if !defined (_TAO__TAO_SEQ_OCTET_CH_) #define _TAO__TAO_SEQ_OCTET_CH_ @@ -94,4 +94,4 @@ typedef TAO_tao_seq_Octet_out TAO_ObjectKey_out; #include "Object_KeyC.i" #endif // defined INLINE -#endif /* _TAO_IDL_OBJECT_KEYC_H_ */ +#endif /* TAO_IDL_OBJECT_KEYC_H */ diff --git a/TAO/tao/Object_Table.h b/TAO/tao/Object_Table.h index a3b170a3144..a9070ddc478 100644 --- a/TAO/tao/Object_Table.h +++ b/TAO/tao/Object_Table.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_OBJTABLE_H) +#ifndef TAO_OBJTABLE_H #define TAO_OBJTABLE_H struct TAO_Object_Table_Entry diff --git a/TAO/tao/Operation_Table.h b/TAO/tao/Operation_Table.h index a817789d6b9..d612d88fd9b 100644 --- a/TAO/tao/Operation_Table.h +++ b/TAO/tao/Operation_Table.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_OPTABLE_H) +#ifndef TAO_OPTABLE_H #define TAO_OPTABLE_H class TAO_operation_db_entry diff --git a/TAO/tao/POA.h b/TAO/tao/POA.h index a95c44082fb..153078d182b 100644 --- a/TAO/tao/POA.h +++ b/TAO/tao/POA.h @@ -17,8 +17,8 @@ // // ============================================================================ -#if !defined (POA_H) -#define POA_H +#ifndef TAO_POA_H +#define TAO_POA_H // CORBA #include "tao/corba.h" @@ -948,4 +948,4 @@ protected: # include "tao/POA.i" #endif /* __ACE_INLINE__ */ -#endif /* POA_H */ +#endif /* TAO_POA_H */ diff --git a/TAO/tao/POAC.h b/TAO/tao/POAC.h index 6780f2f8e7a..de0e67479b7 100644 --- a/TAO/tao/POAC.h +++ b/TAO/tao/POAC.h @@ -15,7 +15,7 @@ // // ============================================================================ -#if !defined (TAO_IDL_POAC_H) +#ifndef TAO_IDL_POAC_H #define TAO_IDL_POAC_H class TAO_ServantBase; diff --git a/TAO/tao/POAS.h b/TAO/tao/POAS.h index 71c21bc19fc..df615265096 100644 --- a/TAO/tao/POAS.h +++ b/TAO/tao/POAS.h @@ -15,7 +15,7 @@ // // ============================================================================ -#if !defined (TAO_IDL_POAS_H) +#ifndef TAO_IDL_POAS_H #define TAO_IDL_POAS_H #include "tao/POAC.h" diff --git a/TAO/tao/POA_CORBA.h b/TAO/tao/POA_CORBA.h index 104f48bd714..d9004eec426 100644 --- a/TAO/tao/POA_CORBA.h +++ b/TAO/tao/POA_CORBA.h @@ -1,5 +1,6 @@ /* -*- C++ -*- */ // $Id$ + // ============================================================================ // // = LIBRARY @@ -25,8 +26,8 @@ // // ============================================================================ -#if !defined (_TAO_IDL_POA_CORBA_H_) -#define _TAO_IDL_POA_CORBA_H_ +#ifndef TAO_IDL_POA_CORBA_H +#define TAO_IDL_POA_CORBA_H #include "PolicyC.h" #include "CurrentC.h" @@ -1170,4 +1171,4 @@ private: #pragma warning(default:4250) #endif /* _MSC_VER */ -#endif /* if !defined */ +#endif /* TAO_IDL_POA_CORBA_H */ diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h index 4ef1799ac0d..6b08397481f 100644 --- a/TAO/tao/PolicyC.h +++ b/TAO/tao/PolicyC.h @@ -1,16 +1,15 @@ -// $Id$ - /* -*- C++ -*- */ +// $Id$ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* +// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* // TAO ORB and the TAO IDL Compiler have been developed by Washington // University Computer Science's Distributed Object Computing Group. // // Information on TAO is available at // http://www.cs.wustl.edu/~schmidt/TAO.html -#if !defined (_TAO_IDL_POLICYC_H_) -#define _TAO_IDL_POLICYC_H_ +#ifndef TAO_IDL_POLICYC_H +#define TAO_IDL_POLICYC_H #if !defined (_CORBA_POLICY___PTR_CH_) #define _CORBA_POLICY___PTR_CH_ @@ -206,13 +205,10 @@ private: void operator= (const CORBA_PolicyList_var &); }; - #endif /* end #if !defined */ - #if defined (__ACE_INLINE__) #include "PolicyC.i" #endif /* defined INLINE */ - -#endif /* if !defined */ +#endif /* TAO_IDL_POLICYC_H */ diff --git a/TAO/tao/Principal.h b/TAO/tao/Principal.h index 48ecf23ce28..268af6b4881 100644 --- a/TAO/tao/Principal.h +++ b/TAO/tao/Principal.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_PRINCIPAL_H) +#ifndef TAO_PRINCIPAL_H # define TAO_PRINCIPAL_H class TAO_Export CORBA_Principal diff --git a/TAO/tao/Request.h b/TAO/tao/Request.h index d7265f5b68f..7443b7da031 100644 --- a/TAO/tao/Request.h +++ b/TAO/tao/Request.h @@ -18,7 +18,7 @@ // // ============================================================================ -#if !defined (TAO_REQUEST_H) +#ifndef TAO_REQUEST_H # define TAO_REQUEST_ H class TAO_Export CORBA_Request diff --git a/TAO/tao/Sequence.h b/TAO/tao/Sequence.h index 023e4156481..006c2fb2ae8 100644 --- a/TAO/tao/Sequence.h +++ b/TAO/tao/Sequence.h @@ -15,7 +15,7 @@ // // ============================================================================ -#if !defined (TAO_SEQUENCE_H) +#ifndef TAO_SEQUENCE_H # define TAO_SEQUENCE_H class CORBA_Object; diff --git a/TAO/tao/Sequence_T.h b/TAO/tao/Sequence_T.h index 6f721be4f42..8218fe56995 100644 --- a/TAO/tao/Sequence_T.h +++ b/TAO/tao/Sequence_T.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_SEQUENCE_T_H) +#ifndef TAO_SEQUENCE_T_H #define TAO_SEQUENCE_T_H template diff --git a/TAO/tao/Servant_Base.h b/TAO/tao/Servant_Base.h index c47c92113c8..30e0dbc489e 100644 --- a/TAO/tao/Servant_Base.h +++ b/TAO/tao/Servant_Base.h @@ -14,8 +14,8 @@ // // ============================================================================ -#if !defined (SERVANT_BASE_H) -#define SERVANT_BASE_H +#ifndef TAO_SERVANT_BASE_H +#define TAO_SERVANT_BASE_H class TAO_Export TAO_ServantBase { @@ -135,4 +135,4 @@ protected: // Turns around and calls invoke. }; -#endif /* SERVANT_BASE_H */ +#endif /* TAO_SERVANT_BASE_H */ diff --git a/TAO/tao/Server_Request.h b/TAO/tao/Server_Request.h index 063a30f48bd..ea4e26caa9d 100644 --- a/TAO/tao/Server_Request.h +++ b/TAO/tao/Server_Request.h @@ -18,7 +18,7 @@ // Modifications by Aniruddha Gokhale based on CORBAv2.2 Feb 98 // ============================================================================ -#if !defined (TAO_SERVER_REQUEST_H) +#ifndef TAO_SERVER_REQUEST_H #define TAO_SERVER_REQUEST_H class TAO_POA; diff --git a/TAO/tao/Server_Strategy_Factory.h b/TAO/tao/Server_Strategy_Factory.h index d869895e66d..987942a212e 100644 --- a/TAO/tao/Server_Strategy_Factory.h +++ b/TAO/tao/Server_Strategy_Factory.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_SERVER_STRATEGY_FACTORY_H) +#ifndef TAO_SERVER_STRATEGY_FACTORY_H # define TAO_SERVER_STRATEGY_FACTORY_H class TAO_Server_Strategy_Factory : public ACE_Service_Object diff --git a/TAO/tao/Stub.h b/TAO/tao/Stub.h index 03fc53fadb4..d1ab1b7f991 100644 --- a/TAO/tao/Stub.h +++ b/TAO/tao/Stub.h @@ -28,7 +28,7 @@ // // ============================================================================ -#if !defined (TAO_STUB_H) +#ifndef TAO_STUB_H # define TAO_STUB_H // Descriptions of parameters. diff --git a/TAO/tao/TAO.h b/TAO/tao/TAO.h index 7473e32329b..0ee14aee3fd 100644 --- a/TAO/tao/TAO.h +++ b/TAO/tao/TAO.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_H) +#ifndef TAO_H #define TAO_H #include "tao/corba.h" diff --git a/TAO/tao/TAO_Internal.h b/TAO/tao/TAO_Internal.h index 2f040c93b99..9dd77ebfe77 100644 --- a/TAO/tao/TAO_Internal.h +++ b/TAO/tao/TAO_Internal.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_INTERNAL_H) +#ifndef TAO_INTERNAL_H # define TAO_INTERNAL_H # include "tao/corba.h" diff --git a/TAO/tao/Timeprobe.h b/TAO/tao/Timeprobe.h index a525dc9df29..b59ed47a08e 100644 --- a/TAO/tao/Timeprobe.h +++ b/TAO/tao/Timeprobe.h @@ -1,6 +1,6 @@ // $Id$ -#if !defined (TAO_TIMEPROBE_H) +#ifndef TAO_TIMEPROBE_H #define TAO_TIMEPROBE_H // Please see ace/Timeprobe.h for details on these #defines. diff --git a/TAO/tao/Typecode.h b/TAO/tao/Typecode.h index 264d8480717..3a004f10b6f 100644 --- a/TAO/tao/Typecode.h +++ b/TAO/tao/Typecode.h @@ -17,7 +17,7 @@ // // ============================================================================ -#if !defined (TAO_TYPECODE_H) +#ifndef TAO_TYPECODE_H # define TAO_TYPECODE_H // Forward decl. diff --git a/TAO/tao/Union.h b/TAO/tao/Union.h index 37dd9220e01..11217900c69 100644 --- a/TAO/tao/Union.h +++ b/TAO/tao/Union.h @@ -15,7 +15,7 @@ // // ============================================================================ -#if !defined (TAO_UNION_H) +#ifndef TAO_UNION_H # define TAO_UNION_H class TAO_Export TAO_Base_Union diff --git a/TAO/tao/corba.h b/TAO/tao/corba.h index 1a804a4ca1c..356cf1d27de 100644 --- a/TAO/tao/corba.h +++ b/TAO/tao/corba.h @@ -22,7 +22,7 @@ // // ============================================================================ -#if !defined (TAO_MASTER_CORBA_H) +#ifndef TAO_MASTER_CORBA_H #define TAO_MASTER_CORBA_H // Include user-defined and platform-specific ORB configuration stuff. diff --git a/TAO/tao/debug.h b/TAO/tao/debug.h index 75f456e45c3..3a93c1f85bd 100644 --- a/TAO/tao/debug.h +++ b/TAO/tao/debug.h @@ -18,7 +18,7 @@ // // ============================================================================ -#if !defined (TAO_DEBUG_H) +#ifndef TAO_DEBUG_H #define TAO_DEBUG_H // These are global to simplify is use by other code, very much in diff --git a/TAO/tao/default_client.h b/TAO/tao/default_client.h index b2ab4b2c565..11cc81bc67d 100644 --- a/TAO/tao/default_client.h +++ b/TAO/tao/default_client.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_DEFAULT_CLIENT_H) +#ifndef TAO_DEFAULT_CLIENT_H # define TAO_DEFAULT_CLIENT_H #include "tao/corba.h" diff --git a/TAO/tao/default_server.h b/TAO/tao/default_server.h index 43107322258..1049c05036b 100644 --- a/TAO/tao/default_server.h +++ b/TAO/tao/default_server.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_DEFAULT_SERVER_FACTORY_H) +#ifndef TAO_DEFAULT_SERVER_FACTORY_H # define TAO_DEFAULT_SERVER_FACTORY_H #include "tao/corba.h" diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h index 7eca3df77f1..89ddd971edf 100644 --- a/TAO/tao/orbconf.h +++ b/TAO/tao/orbconf.h @@ -20,7 +20,7 @@ // // ============================================================================ -#if !defined (TAO_ORB_CONFIG_H) +#ifndef TAO_ORB_CONFIG_H #define TAO_ORB_CONFIG_H #include "ace/OS.h" diff --git a/TAO/tao/params.h b/TAO/tao/params.h index 910aa6521b1..108433b2a71 100644 --- a/TAO/tao/params.h +++ b/TAO/tao/params.h @@ -14,7 +14,7 @@ // // ============================================================================ -#if !defined (TAO_PARAMS_H) +#ifndef TAO_PARAMS_H # define TAO_PARAMS_H // Forward decls. diff --git a/TAO/tao/poa_T.h b/TAO/tao/poa_T.h index 876f080c117..4ecb5d265cc 100644 --- a/TAO/tao/poa_T.h +++ b/TAO/tao/poa_T.h @@ -1,7 +1,7 @@ // $Id$ -#if !defined (POA_T_H) -#define POA_T_H +#ifndef (TAO_POA_T_H) +#define TAO_POA_T_H #include "tao/poa.h" @@ -9,7 +9,6 @@ template class TAO_Locked_POA : public TAO_POA { public: - TAO_Locked_POA (const char *adapter_name, PortableServer::POAManager_ptr poa_manager, TAO_POA_Policies &policies, @@ -39,9 +38,7 @@ public: protected: virtual ACE_Lock &lock (void); - ACE_Lock_Adapter lock_; - typedef TAO_Locked_POA SELF; }; @@ -49,21 +46,15 @@ template class TAO_Locked_POA_Manager : public TAO_POA_Manager { public: - TAO_Locked_POA_Manager (void); - virtual TAO_POA_Manager *clone (void); protected: - virtual ACE_Lock &lock (void); - ACE_Lock_Adapter lock_; - typedef TAO_Locked_POA_Manager SELF; }; - #if defined (ACE_TEMPLATES_REQUIRE_SOURCE) #include "tao/poa_T.cpp" #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ @@ -72,4 +63,4 @@ protected: #pragma implementation ("poa_T.cpp") #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ -#endif /* POA_T_H */ +#endif /* TAO_POA_T_H */ diff --git a/TAO/tao/poa_macros.h b/TAO/tao/poa_macros.h index d1bfe9c6b36..b1f40199ee4 100644 --- a/TAO/tao/poa_macros.h +++ b/TAO/tao/poa_macros.h @@ -1,7 +1,7 @@ // $Id$ -#if !defined (POA_MACROS_H) -#define POA_MACROS_H +#ifndef TAO_POA_MACROS_H +#define TAO_POA_MACROS_H #include "tao/try_macros.h" @@ -18,4 +18,4 @@ #define TAO_POA_READ_GUARD_RETURN(MUTEX,OBJ,LOCK,RETURN,ENV) \ TAO_READ_GUARD_THROW_RETURN(MUTEX,OBJ,LOCK,RETURN,ENV,CORBA::OBJ_ADAPTER (CORBA::COMPLETED_NO)) -#endif /* POA_MACROS_H */ +#endif /* TAO_POA_MACROS_H */ diff --git a/TAO/tao/singletons.h b/TAO/tao/singletons.h index cd707705be2..818817476b5 100644 --- a/TAO/tao/singletons.h +++ b/TAO/tao/singletons.h @@ -20,7 +20,7 @@ // // ============================================================================ -#if !defined (TAO_SINGLETONS_H) +#ifndef TAO_SINGLETONS_H # define TAO_SINGLETONS_H typedef ACE_Singleton TAO_MARSHAL_FACTORY; diff --git a/TAO/tao/try_macros.h b/TAO/tao/try_macros.h index 79485c0c26f..412a4ecfd75 100644 --- a/TAO/tao/try_macros.h +++ b/TAO/tao/try_macros.h @@ -20,7 +20,7 @@ // // ============================================================================ -#if !defined (TAO_TRY_MACROS_H) +#ifndef TAO_TRY_MACROS_H #define TAO_TRY_MACROS_H #include "tao/orbconf.h" diff --git a/TAO/tao/varout.h b/TAO/tao/varout.h index e322c8f2ccb..78db5b7ffe5 100644 --- a/TAO/tao/varout.h +++ b/TAO/tao/varout.h @@ -17,7 +17,7 @@ // Aniruddha Gokhale // ============================================================================ -#if !defined (TAO_VAROUT_H) +#ifndef TAO_VAROUT_H #define TAO_VAROUT_H class CORBA_Object; -- cgit v1.2.1