diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp index f8e25e5c3c9..c8322e6823b 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp @@ -1,4 +1,3 @@ -/* -*- C++ -*- */ // $Id$ #include "AttributeDef_i.h" @@ -7,11 +6,14 @@ #include "ExceptionDef_i.h" #include "IFR_Service_Utils.h" #include "ace/Auto_Ptr.h" +#include "ace/SString.h" -ACE_RCSID (IFRService, - AttributeDef_i, + +ACE_RCSID (IFRService, + AttributeDef_i, "$Id$") + TAO_AttributeDef_i::TAO_AttributeDef_i ( TAO_Repository_i *repo ) @@ -91,7 +93,7 @@ TAO_AttributeDef_i::type_i (ACE_ENV_SINGLE_ARG_DECL) "type_path", type_path); - TAO_IDLType_i *impl = + TAO_IDLType_i *impl = TAO_IFR_Service_Utils::path_to_idltype (type_path, this->repo_); @@ -119,7 +121,7 @@ TAO_AttributeDef_i::type_def_i (ACE_ENV_SINGLE_ARG_DECL) "type_path", type_path); - CORBA::Object_var obj = + CORBA::Object_var obj = TAO_IFR_Service_Utils::path_to_ir_object (type_path, this->repo_ ACE_ENV_ARG_PARAMETER); @@ -180,7 +182,7 @@ TAO_AttributeDef_i::mode_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "mode", mode); - return ACE_static_cast (CORBA::AttributeMode, mode); + return static_cast<CORBA::AttributeMode> (mode); } void @@ -283,7 +285,7 @@ TAO_AttributeDef_i::get_exceptions (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = ACE_static_cast (CORBA::ULong, path_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (path_queue.size ()); CORBA::ExceptionDefSeq *get_ed_seq = 0; ACE_NEW_THROW_EX (get_ed_seq, @@ -360,7 +362,7 @@ TAO_AttributeDef_i::put_exceptions (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = ACE_static_cast (CORBA::ULong, path_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (path_queue.size ()); CORBA::ExceptionDefSeq *put_ed_seq = 0; ACE_NEW_THROW_EX (put_ed_seq, @@ -390,5 +392,3 @@ TAO_AttributeDef_i::put_exceptions (ACE_ENV_SINGLE_ARG_DECL) return retval._retn (); } - - |