diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp index 46ee26abfb8..a510114bcc6 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp @@ -1,15 +1,18 @@ -/* -*- C++ -*- */ // $Id$ #include "SequenceDef_i.h" #include "Repository_i.h" #include "IFR_Service_Utils.h" + #include "ace/Auto_Ptr.h" +#include "ace/SString.h" + -ACE_RCSID (IFRService, - SequenceDef_i, +ACE_RCSID (IFRService, + SequenceDef_i, "$Id$") + TAO_SequenceDef_i::TAO_SequenceDef_i ( TAO_Repository_i *repo ) @@ -110,7 +113,7 @@ TAO_SequenceDef_i::bound_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "bound", bound); - return ACE_static_cast (CORBA::ULong, bound); + return static_cast<CORBA::ULong> (bound); } void @@ -155,7 +158,7 @@ TAO_SequenceDef_i::element_type_i (ACE_ENV_SINGLE_ARG_DECL) "element_path", element_path); - TAO_IDLType_i *impl = + TAO_IDLType_i *impl = TAO_IFR_Service_Utils::path_to_idltype (element_path, this->repo_); @@ -183,7 +186,7 @@ TAO_SequenceDef_i::element_type_def_i (ACE_ENV_SINGLE_ARG_DECL) "element_path", element_path); - CORBA::Object_var obj = + CORBA::Object_var obj = TAO_IFR_Service_Utils::path_to_ir_object (element_path, this->repo_ ACE_ENV_ARG_PARAMETER); @@ -215,7 +218,7 @@ TAO_SequenceDef_i::element_type_def_i (CORBA::IDLType_ptr element_type_def this->destroy_element_type (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - char *element_path = + char *element_path = TAO_IFR_Service_Utils::reference_to_path (element_type_def); this->repo_->config ()->set_string_value (this->section_key_, @@ -233,7 +236,7 @@ TAO_SequenceDef_i::destroy_element_type ( "element_path", element_path); - CORBA::DefinitionKind def_kind = + CORBA::DefinitionKind def_kind = TAO_IFR_Service_Utils::path_to_def_kind (element_path, this->repo_); @@ -248,7 +251,7 @@ TAO_SequenceDef_i::destroy_element_type ( case CORBA::dk_Array: case CORBA::dk_Sequence: { - TAO_IDLType_i *impl = + TAO_IDLType_i *impl = TAO_IFR_Service_Utils::path_to_idltype (element_path, this->repo_); |