diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService')
24 files changed, 91 insertions, 91 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp index 00e5e821599..3df58af21ac 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp @@ -108,7 +108,7 @@ TAO_ArrayDef_i::length_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "length", length); - return static_cast<CORBA::ULong>(length); + return static_cast<CORBA::ULong> (length); } void diff --git a/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp index a3953fbb3b2..2bf08682433 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp @@ -180,7 +180,7 @@ TAO_AttributeDef_i::mode_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "mode", mode); - return static_cast<CORBA::AttributeMode>(mode); + return static_cast<CORBA::AttributeMode> (mode); } void @@ -283,7 +283,7 @@ TAO_AttributeDef_i::get_exceptions (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = 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 +360,7 @@ TAO_AttributeDef_i::put_exceptions (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = 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, diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp index 16cc5a7406c..67229355fe1 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ComponentDef_i.cpp @@ -30,7 +30,7 @@ TAO_Port_Desc_Seq_Utils<CORBA::ComponentIR::UsesDescriptionSeq>::get_is_multiple "is_multiple", is_multiple); desc_seq[index].is_multiple = - static_cast<CORBA::Boolean>(is_multiple); + static_cast<CORBA::Boolean> (is_multiple); } // Specialization. diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ConstantDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ConstantDef_i.cpp index 0562d097470..a19ec7fb100 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ConstantDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ConstantDef_i.cpp @@ -202,7 +202,7 @@ TAO_ConstantDef_i::value_i (ACE_ENV_SINGLE_ARG_DECL) length ); - char *data = static_cast<char *>(ref); + char *data = static_cast<char *> (ref); ACE_Auto_Basic_Array_Ptr<char> safety (data); ACE_Message_Block mb (data, diff --git a/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp index 585480843f1..3f78e06ac22 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp @@ -1142,7 +1142,7 @@ TAO_Contained_i::move_contents (CORBA::Container_ptr new_container "def_kind", kind); CORBA::DefinitionKind def_kind = - static_cast<CORBA::DefinitionKind>(kind); + static_cast<CORBA::DefinitionKind> (kind); TAO_Contained_i *impl = this->repo_->select_contained (def_kind); impl->section_key (defn_key); diff --git a/TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp index 49f7c5484f7..495916a8679 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp @@ -154,7 +154,7 @@ TAO_Container_i::destroy_i (ACE_ENV_SINGLE_ARG_DECL) "def_kind", kind); CORBA::DefinitionKind def_kind = - static_cast<CORBA::DefinitionKind>(kind); + static_cast<CORBA::DefinitionKind> (kind); TAO_Contained_i *impl = this->repo_->select_contained (def_kind); impl->section_key (defn_key); @@ -278,7 +278,7 @@ TAO_Container_i::lookup_i (const char *search_name "def_kind", kind); - def_kind = static_cast<CORBA::DefinitionKind>(kind); + def_kind = static_cast<CORBA::DefinitionKind> (kind); if (def_kind == CORBA::dk_Interface || def_kind == CORBA::dk_Value) @@ -477,7 +477,7 @@ TAO_Container_i::contents_i (CORBA::DefinitionKind limit_type, kind); CORBA::DefinitionKind def_kind = - static_cast<CORBA::DefinitionKind>(kind); + static_cast<CORBA::DefinitionKind> (kind); if (limit_type == CORBA::dk_all || limit_type == def_kind) @@ -525,7 +525,7 @@ TAO_Container_i::contents_i (CORBA::DefinitionKind limit_type, } } - CORBA::ULong size = static_cast<CORBA::ULong>(kind_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (kind_queue.size ()); retval->length (size); for (CORBA::ULong j = 0; j < size; ++j) @@ -593,7 +593,7 @@ TAO_Container_i::lookup_name_i (const char *search_name, exclude_inherited ACE_ENV_ARG_PARAMETER); - CORBA::ULong size = static_cast<CORBA::ULong>(kind_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (kind_queue.size ()); CORBA::ContainedSeq *holder; ACE_NEW_THROW_EX (holder, @@ -669,7 +669,7 @@ TAO_Container_i::describe_contents_i (CORBA::DefinitionKind limit_type, } else { - ret_len = length < static_cast<CORBA::ULong>(max_returned_objs) + ret_len = length < static_cast<CORBA::ULong> (max_returned_objs) ? length : max_returned_objs; } @@ -1951,7 +1951,7 @@ TAO_Container_i::lookup_name_recursive ( kind); CORBA::DefinitionKind def_kind = - static_cast<CORBA::DefinitionKind>(kind); + static_cast<CORBA::DefinitionKind> (kind); ACE_TString id; this->repo_->config ()->get_string_value (defn_key, @@ -2260,49 +2260,49 @@ TAO_Container_i::store_label (ACE_Configuration_Section_Key key, { CORBA::Char x; cdr.read_char (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } case CORBA::tk_wchar: { CORBA::WChar x; cdr.read_wchar (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } case CORBA::tk_boolean: { CORBA::Boolean x; cdr.read_boolean (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } case CORBA::tk_short: { CORBA::Short x; cdr.read_short (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } case CORBA::tk_ushort: { CORBA::UShort x; cdr.read_ushort (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } case CORBA::tk_long: { CORBA::Long x; cdr.read_long (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } case CORBA::tk_ulong: { CORBA::ULong x; cdr.read_ulong (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } #if !defined (ACE_LACKS_LONGLONG_T) @@ -2311,7 +2311,7 @@ TAO_Container_i::store_label (ACE_Configuration_Section_Key key, CORBA::LongLong x; cdr.read_longlong (x); // We could lose data here. - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } #endif /* ACE_LACKS_LONGLONG_T */ @@ -2320,14 +2320,14 @@ TAO_Container_i::store_label (ACE_Configuration_Section_Key key, CORBA::ULongLong x; cdr.read_ulonglong (x); // We could lose data here. - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } case CORBA::tk_enum: { CORBA::ULong x; cdr.read_ulong (x); - result = static_cast<u_int>(x); + result = static_cast<u_int> (x); break; } default: @@ -2606,7 +2606,7 @@ TAO_Container_i::create_value_common ( TAO_IFR_Service_Utils::tmp_key_, "def_kind", kind); - def_kind = static_cast<CORBA::DefinitionKind>(kind); + def_kind = static_cast<CORBA::DefinitionKind> (kind); if (def_kind == CORBA::dk_Interface) { diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ExceptionDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ExceptionDef_i.cpp index 08ad8939df9..cff9ef2e6bb 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ExceptionDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ExceptionDef_i.cpp @@ -218,13 +218,13 @@ TAO_ExceptionDef_i::members_i (ACE_ENV_SINGLE_ARG_DECL) kind); CORBA::DefinitionKind def_kind = - static_cast<CORBA::DefinitionKind>(kind); + static_cast<CORBA::DefinitionKind> (kind); kind_queue.enqueue_tail (def_kind); } } - CORBA::ULong size = static_cast<CORBA::ULong>(kind_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (kind_queue.size ()); CORBA::StructMemberSeq *members = 0; ACE_NEW_THROW_EX (members, diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ExtValueDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ExtValueDef_i.cpp index a8af266f294..b7f680b98a8 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ExtValueDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ExtValueDef_i.cpp @@ -248,11 +248,11 @@ TAO_ExtValueDef_i::describe_ext_value_i ( this->repo_->config ()->get_integer_value (this->section_key_, "is_abstract", val); - fv_desc->is_abstract = static_cast<CORBA::Boolean>(val); + fv_desc->is_abstract = static_cast<CORBA::Boolean> (val); this->repo_->config ()->get_integer_value (this->section_key_, "is_custom", val); - fv_desc->is_custom = static_cast<CORBA::Boolean>(val); + fv_desc->is_custom = static_cast<CORBA::Boolean> (val); this->repo_->config ()->get_string_value (this->section_key_, "container_id", holder); @@ -321,7 +321,7 @@ TAO_ExtValueDef_i::describe_ext_value_i ( this->repo_->config ()->get_integer_value (op_key, "mode", val); - fv_desc->operations[i].mode = static_cast<CORBA::OperationMode>(val); + fv_desc->operations[i].mode = static_cast<CORBA::OperationMode> (val); CORBA::TCKind kind = fv_desc->operations[i].result->kind (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); @@ -398,7 +398,7 @@ TAO_ExtValueDef_i::describe_ext_value_i ( "mode", val); fv_desc->operations[i].parameters[j].mode = - static_cast<CORBA::ParameterMode>(val); + static_cast<CORBA::ParameterMode> (val); } } @@ -505,7 +505,7 @@ TAO_ExtValueDef_i::describe_ext_value_i ( "mode", val); fv_desc->attributes[i].mode = - static_cast<CORBA::AttributeMode>(val); + static_cast<CORBA::AttributeMode> (val); this->repo_->config ()->get_string_value (attr_key, "type_path", holder); @@ -590,7 +590,7 @@ TAO_ExtValueDef_i::describe_ext_value_i ( "access", val); fv_desc->members[i].access = - static_cast<CORBA::Visibility>(val); + static_cast<CORBA::Visibility> (val); // Use type path for 'type' and 'type_def', @@ -728,7 +728,7 @@ TAO_ExtValueDef_i::describe_ext_value_i ( this->repo_->config ()->get_integer_value (this->section_key_, "is_truncatable", val); - fv_desc->is_truncatable = static_cast<CORBA::Boolean>(val); + fv_desc->is_truncatable = static_cast<CORBA::Boolean> (val); this->repo_->config ()->get_string_value (this->section_key_, "base_value", holder); diff --git a/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp index bfc3835aee2..f9d3c25e1a9 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp @@ -910,7 +910,7 @@ TAO_HomeDef_i::fill_param_desc (ACE_Configuration_Section_Key &key, this->repo_->config ()->get_integer_value (param_key, "mode", val); - pd.mode = static_cast<CORBA::ParameterMode>(val); + pd.mode = static_cast<CORBA::ParameterMode> (val); } void diff --git a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp index 63fef42f507..504f63da55f 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp @@ -1165,7 +1165,7 @@ TAO_IFR_Service_Utils::fill_valuemember_seq ( repo->config ()->get_integer_value (member_key, "access", access); - vm_seq[i].access = static_cast<CORBA::Visibility>(access); + vm_seq[i].access = static_cast<CORBA::Visibility> (access); } } @@ -1209,7 +1209,7 @@ TAO_IFR_Service_Utils::path_to_def_kind (ACE_TString &path, repo->config ()->get_integer_value (TAO_IFR_Service_Utils::tmp_key_, "def_kind", kind); - return static_cast<CORBA::DefinitionKind>(kind); + return static_cast<CORBA::DefinitionKind> (kind); } CORBA::DefinitionKind diff --git a/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp index 858401f5de6..f5d6b529406 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/IRObject_i.cpp @@ -45,7 +45,7 @@ TAO_IRObject_i::update_key (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_POA_Current_Impl *pc_impl = - static_cast<TAO_POA_Current_Impl *>(TAO_TSS_RESOURCES::instance ()->poa_current_impl_); + static_cast<TAO_POA_Current_Impl *> (TAO_TSS_RESOURCES::instance ()->poa_current_impl_); PortableServer::ObjectId object_id; int status = TAO_POA::parse_ir_object_key (pc_impl->object_key (), diff --git a/TAO/orbsvcs/orbsvcs/IFRService/InterfaceAttrExtension_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/InterfaceAttrExtension_i.cpp index 78f5d055727..9fde706b170 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/InterfaceAttrExtension_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/InterfaceAttrExtension_i.cpp @@ -116,7 +116,7 @@ TAO_InterfaceAttrExtension_i::describe_ext_interface_i ( } } - CORBA::ULong size = static_cast<CORBA::ULong>(key_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (key_queue.size ()); fifd->operations.length (size); for (i = 0; i < size; ++i) @@ -167,7 +167,7 @@ TAO_InterfaceAttrExtension_i::describe_ext_interface_i ( } } - size = static_cast<CORBA::ULong>(key_queue.size ()); + size = static_cast<CORBA::ULong> (key_queue.size ()); fifd->attributes.length (size); for (i = 0; i < size; ++i) diff --git a/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp index 48b6c6dfc4f..2ea6fd5cda3 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/InterfaceDef_i.cpp @@ -213,7 +213,7 @@ TAO_InterfaceDef_i::base_interfaces_i (ACE_ENV_SINGLE_ARG_DECL) this->base_interfaces_recursive (kind_queue, path_queue); - CORBA::ULong size = static_cast<CORBA::ULong>(kind_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (kind_queue.size ()); CORBA::InterfaceDefSeq *seq = 0; ACE_NEW_THROW_EX (seq, @@ -489,7 +489,7 @@ TAO_InterfaceDef_i::describe_interface_i (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = static_cast<CORBA::ULong>(key_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (key_queue.size ()); fifd->operations.length (size); for (i = 0; i < size; ++i) @@ -540,7 +540,7 @@ TAO_InterfaceDef_i::describe_interface_i (ACE_ENV_SINGLE_ARG_DECL) } } - size = static_cast<CORBA::ULong>(key_queue.size ()); + size = static_cast<CORBA::ULong> (key_queue.size ()); fifd->attributes.length (size); for (i = 0; i < size; ++i) @@ -1105,7 +1105,7 @@ TAO_InterfaceDef_i::base_interfaces_recursive ( "def_kind", kind); - def_kind = static_cast<CORBA::DefinitionKind>(kind); + def_kind = static_cast<CORBA::DefinitionKind> (kind); kind_queue.enqueue_tail (def_kind); } diff --git a/TAO/orbsvcs/orbsvcs/IFRService/OperationDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/OperationDef_i.cpp index ddad4078e4a..588776f8672 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/OperationDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/OperationDef_i.cpp @@ -207,7 +207,7 @@ TAO_OperationDef_i::params_i (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = static_cast<CORBA::ULong>(key_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (key_queue.size ()); CORBA::ParDescriptionSeq *pd_seq = 0; ACE_NEW_THROW_EX (pd_seq, @@ -241,7 +241,7 @@ TAO_OperationDef_i::params_i (ACE_ENV_SINGLE_ARG_DECL) "mode", mode); - retval[i].mode = static_cast<CORBA::ParameterMode>(mode); + retval[i].mode = static_cast<CORBA::ParameterMode> (mode); ACE_TString type_path; this->repo_->config ()->get_string_value (key, @@ -356,7 +356,7 @@ TAO_OperationDef_i::mode_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "mode", mode); - return static_cast<CORBA::OperationMode>(mode); + return static_cast<CORBA::OperationMode> (mode); } void @@ -431,7 +431,7 @@ TAO_OperationDef_i::contexts_i (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = static_cast<CORBA::ULong>(context_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (context_queue.size ()); CORBA::ContextIdSeq *ci_seq = 0; ACE_NEW_THROW_EX (ci_seq, @@ -541,7 +541,7 @@ TAO_OperationDef_i::exceptions_i (ACE_ENV_SINGLE_ARG_DECL ) } } - CORBA::ULong size = static_cast<CORBA::ULong>(path_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (path_queue.size ()); CORBA::ExceptionDefSeq *ed_seq = 0; ACE_NEW_THROW_EX (ed_seq, @@ -680,7 +680,7 @@ TAO_OperationDef_i::make_description ( } } - CORBA::ULong size = static_cast<CORBA::ULong>(path_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (path_queue.size ()); od.exceptions.length (size); diff --git a/TAO/orbsvcs/orbsvcs/IFRService/PrimitiveDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/PrimitiveDef_i.cpp index 7b04b4348c7..b7f83ae5605 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/PrimitiveDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/PrimitiveDef_i.cpp @@ -63,7 +63,7 @@ TAO_PrimitiveDef_i::type_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "pkind", pkind); - switch (static_cast<CORBA::PrimitiveKind>(pkind)) + switch (static_cast<CORBA::PrimitiveKind> (pkind)) { case CORBA::pk_null: return CORBA::TypeCode::_duplicate (CORBA::_tc_null); @@ -135,6 +135,6 @@ TAO_PrimitiveDef_i::kind_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "pkind", pkind); - return static_cast<CORBA::PrimitiveKind>(pkind); + return static_cast<CORBA::PrimitiveKind> (pkind); } diff --git a/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp index 986b5cc86c4..b2cb007fc14 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp @@ -95,7 +95,7 @@ TAO_Repository_i::lookup_id_i (const char *search_id kind); CORBA::DefinitionKind def_kind = - static_cast<CORBA::DefinitionKind>(kind); + static_cast<CORBA::DefinitionKind> (kind); CORBA::Object_var obj = TAO_IFR_Service_Utils::create_objref (def_kind, @@ -666,7 +666,7 @@ TAO_Repository_i::create_sections (void) for (u_int i = 0; i < num_pkinds; ++i) { ACE_Configuration_Section_Key key; - CORBA::PrimitiveKind pkind = static_cast<CORBA::PrimitiveKind>(i); + CORBA::PrimitiveKind pkind = static_cast<CORBA::PrimitiveKind> (i); this->config_->open_section (this->pkinds_key_, this->pkind_to_string (pkind), @@ -908,7 +908,7 @@ TAO_Repository_i::select_container (CORBA::DefinitionKind def_kind) const case CORBA::dk_LocalInterface: return this->ExtLocalInterfaceDef_servant_->_tied_object (); case CORBA::dk_Repository: - return const_cast<TAO_Repository_i *>(this); + return const_cast<TAO_Repository_i *> (this); case CORBA::dk_Struct: return this->StructDef_servant_->_tied_object (); case CORBA::dk_Union: diff --git a/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp index 130c9882983..f10a81d8184 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/SequenceDef_i.cpp @@ -110,7 +110,7 @@ TAO_SequenceDef_i::bound_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "bound", bound); - return static_cast<CORBA::ULong>(bound); + return static_cast<CORBA::ULong> (bound); } void diff --git a/TAO/orbsvcs/orbsvcs/IFRService/StringDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/StringDef_i.cpp index 2d1003038d0..5b07e4d47f3 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/StringDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/StringDef_i.cpp @@ -97,7 +97,7 @@ TAO_StringDef_i::bound_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "bound", retval); - return static_cast<CORBA::ULong>(retval); + return static_cast<CORBA::ULong> (retval); } void diff --git a/TAO/orbsvcs/orbsvcs/IFRService/StructDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/StructDef_i.cpp index c0362f74cd3..894d2c42c19 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/StructDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/StructDef_i.cpp @@ -180,13 +180,13 @@ TAO_StructDef_i::members_i (ACE_ENV_SINGLE_ARG_DECL) kind); CORBA::DefinitionKind def_kind = - static_cast<CORBA::DefinitionKind>(kind); + static_cast<CORBA::DefinitionKind> (kind); kind_queue.enqueue_tail (def_kind); } } - CORBA::ULong size = static_cast<CORBA::ULong>(kind_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (kind_queue.size ()); CORBA::StructMemberSeq *members = 0; ACE_NEW_THROW_EX (members, diff --git a/TAO/orbsvcs/orbsvcs/IFRService/UnionDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/UnionDef_i.cpp index 7e60ae571de..760ac5f8a41 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/UnionDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/UnionDef_i.cpp @@ -270,7 +270,7 @@ TAO_UnionDef_i::members_i (ACE_ENV_SINGLE_ARG_DECL) } } - CORBA::ULong size = static_cast<CORBA::ULong>(key_queue.size ()); + CORBA::ULong size = static_cast<CORBA::ULong> (key_queue.size ()); CORBA::UnionMemberSeq *members = 0; ACE_NEW_THROW_EX (members, @@ -427,38 +427,38 @@ TAO_UnionDef_i::fetch_label (const ACE_Configuration_Section_Key member_key, switch (kind) { case CORBA::tk_char: - member.label <<= CORBA::Any::from_char (static_cast<CORBA::Char>(value)); + member.label <<= CORBA::Any::from_char (static_cast<CORBA::Char> (value)); break; case CORBA::tk_wchar: - member.label <<= CORBA::Any::from_wchar (static_cast<CORBA::WChar>(value)); + member.label <<= CORBA::Any::from_wchar (static_cast<CORBA::WChar> (value)); break; case CORBA::tk_boolean: - member.label <<= CORBA::Any::from_boolean (static_cast<CORBA::Boolean>(value)); + member.label <<= CORBA::Any::from_boolean (static_cast<CORBA::Boolean> (value)); break; case CORBA::tk_short: - member.label <<= static_cast<CORBA::Short>(value); + member.label <<= static_cast<CORBA::Short> (value); break; case CORBA::tk_ushort: - member.label <<= static_cast<CORBA::UShort>(value); + member.label <<= static_cast<CORBA::UShort> (value); break; case CORBA::tk_long: - member.label <<= static_cast<CORBA::Long>(value); + member.label <<= static_cast<CORBA::Long> (value); break; case CORBA::tk_ulong: - member.label <<= static_cast<CORBA::ULong>(value); + member.label <<= static_cast<CORBA::ULong> (value); break; #if !defined (ACE_LACKS_LONGLONG_T) case CORBA::tk_longlong: - member.label <<= static_cast<CORBA::LongLong>(value); + member.label <<= static_cast<CORBA::LongLong> (value); break; #endif /* ACE_LACKS_LONGLONG_T */ case CORBA::tk_ulonglong: - member.label <<= static_cast<CORBA::ULongLong>(value); + member.label <<= static_cast<CORBA::ULongLong> (value); break; case CORBA::tk_enum: { TAO_OutputCDR cdr; - cdr.write_ulong (static_cast<CORBA::ULong>(value)); + cdr.write_ulong (static_cast<CORBA::ULong> (value)); TAO::Unknown_IDL_Type *impl = 0; ACE_NEW (impl, TAO::Unknown_IDL_Type (tc.in (), diff --git a/TAO/orbsvcs/orbsvcs/IFRService/UsesDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/UsesDef_i.cpp index b20de22a5f7..f1899bea0d0 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/UsesDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/UsesDef_i.cpp @@ -175,7 +175,7 @@ TAO_UsesDef_i::is_multiple_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) this->repo_->config ()->get_integer_value (this->section_key_, "is_multiple", val); - return static_cast<CORBA::Boolean>(val); + return static_cast<CORBA::Boolean> (val); } void diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp index a9c67a09dac..1fdb8eab6b5 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ValueDef_i.cpp @@ -260,7 +260,7 @@ TAO_ValueDef_i::supported_interfaces_i ( "def_kind", kind ); - def_kind = static_cast<CORBA::DefinitionKind>(kind); + def_kind = static_cast<CORBA::DefinitionKind> (kind); if (def_kind == CORBA::dk_Interface) { @@ -685,7 +685,7 @@ TAO_ValueDef_i::is_abstract_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) this->repo_->config ()->get_integer_value (this->section_key_, "is_abstract", is_it); - return static_cast<CORBA::Boolean>(is_it); + return static_cast<CORBA::Boolean> (is_it); } void @@ -710,7 +710,7 @@ TAO_ValueDef_i::is_abstract_i (CORBA::Boolean is_abstract this->repo_->config ()->set_integer_value ( this->section_key_, "is_abstract", - static_cast<CORBA::ULong>(is_abstract)); + static_cast<CORBA::ULong> (is_abstract)); } CORBA::Boolean @@ -733,7 +733,7 @@ TAO_ValueDef_i::is_custom_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) this->repo_->config ()->get_integer_value (this->section_key_, "is_custom", is_it); - return static_cast<CORBA::Boolean>(is_it); + return static_cast<CORBA::Boolean> (is_it); } void @@ -758,7 +758,7 @@ TAO_ValueDef_i::is_custom_i (CORBA::Boolean is_custom this->repo_->config ()->set_integer_value ( this->section_key_, "is_custom", - static_cast<CORBA::ULong>(is_custom)); + static_cast<CORBA::ULong> (is_custom)); } CORBA::Boolean @@ -781,7 +781,7 @@ TAO_ValueDef_i::is_truncatable_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) this->repo_->config ()->get_integer_value (this->section_key_, "is_truncatable", is_it); - return static_cast<CORBA::Boolean>(is_it); + return static_cast<CORBA::Boolean> (is_it); } void @@ -806,7 +806,7 @@ TAO_ValueDef_i::is_truncatable_i (CORBA::Boolean is_truncatable this->repo_->config ()->set_integer_value ( this->section_key_, "is_truncatable", - static_cast<CORBA::ULong>(is_truncatable)); + static_cast<CORBA::ULong> (is_truncatable)); } CORBA::Boolean @@ -939,11 +939,11 @@ TAO_ValueDef_i::describe_value_i (ACE_ENV_SINGLE_ARG_DECL) this->repo_->config ()->get_integer_value (this->section_key_, "is_abstract", val); - fv_desc->is_abstract = static_cast<CORBA::Boolean>(val); + fv_desc->is_abstract = static_cast<CORBA::Boolean> (val); this->repo_->config ()->get_integer_value (this->section_key_, "is_custom", val); - fv_desc->is_custom = static_cast<CORBA::Boolean>(val); + fv_desc->is_custom = static_cast<CORBA::Boolean> (val); this->repo_->config ()->get_string_value (this->section_key_, "container_id", holder); @@ -1012,7 +1012,7 @@ TAO_ValueDef_i::describe_value_i (ACE_ENV_SINGLE_ARG_DECL) this->repo_->config ()->get_integer_value (op_key, "mode", val); - fv_desc->operations[i].mode = static_cast<CORBA::OperationMode>(val); + fv_desc->operations[i].mode = static_cast<CORBA::OperationMode> (val); CORBA::TCKind kind = fv_desc->operations[i].result->kind (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); @@ -1089,7 +1089,7 @@ TAO_ValueDef_i::describe_value_i (ACE_ENV_SINGLE_ARG_DECL) "mode", val); fv_desc->operations[i].parameters[j].mode = - static_cast<CORBA::ParameterMode>(val); + static_cast<CORBA::ParameterMode> (val); } } @@ -1198,7 +1198,7 @@ TAO_ValueDef_i::describe_value_i (ACE_ENV_SINGLE_ARG_DECL) "mode", val); fv_desc->attributes[i].mode = - static_cast<CORBA::AttributeMode>(val); + static_cast<CORBA::AttributeMode> (val); this->repo_->config ()->get_string_value (attr_key, "type_path", holder); @@ -1269,7 +1269,7 @@ TAO_ValueDef_i::describe_value_i (ACE_ENV_SINGLE_ARG_DECL) "access", val); fv_desc->members[i].access = - static_cast<CORBA::Visibility>(val); + static_cast<CORBA::Visibility> (val); // Use type path for 'type' and 'type_def', @@ -1389,7 +1389,7 @@ TAO_ValueDef_i::describe_value_i (ACE_ENV_SINGLE_ARG_DECL) this->repo_->config ()->get_integer_value (this->section_key_, "is_truncatable", val); - fv_desc->is_truncatable = static_cast<CORBA::Boolean>(val); + fv_desc->is_truncatable = static_cast<CORBA::Boolean> (val); this->repo_->config ()->get_string_value (this->section_key_, "base_value", holder); @@ -1811,11 +1811,11 @@ TAO_ValueDef_i::fill_value_description (CORBA::ValueDescription &desc CORBA::ULong tmp = this->is_abstract_i (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - desc.is_abstract = static_cast<CORBA::Boolean>(tmp); + desc.is_abstract = static_cast<CORBA::Boolean> (tmp); tmp = this->is_custom_i (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - desc.is_custom = static_cast<CORBA::Boolean>(tmp); + desc.is_custom = static_cast<CORBA::Boolean> (tmp); ACE_TString holder; this->repo_->config ()->get_string_value (this->section_key_, @@ -1842,7 +1842,7 @@ TAO_ValueDef_i::fill_value_description (CORBA::ValueDescription &desc tmp = this->is_truncatable_i (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - desc.is_truncatable = static_cast<CORBA::Boolean>(tmp); + desc.is_truncatable = static_cast<CORBA::Boolean> (tmp); this->repo_->config ()->get_string_value (this->section_key_, "base_value", diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ValueMemberDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ValueMemberDef_i.cpp index d778025fcec..4b83ad3dfb9 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ValueMemberDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ValueMemberDef_i.cpp @@ -76,7 +76,7 @@ TAO_ValueMemberDef_i::describe_i (ACE_ENV_SINGLE_ARG_DECL) this->repo_->config ()->get_integer_value (this->section_key_, "access", val); - vm.access = static_cast<CORBA::Visibility>(val); + vm.access = static_cast<CORBA::Visibility> (val); CORBA::Contained::Description *retval = 0; ACE_NEW_RETURN (retval, @@ -189,7 +189,7 @@ TAO_ValueMemberDef_i::access_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) this->repo_->config ()->get_integer_value (this->section_key_, "access", val); - return static_cast<CORBA::Visibility>(val); + return static_cast<CORBA::Visibility> (val); } void diff --git a/TAO/orbsvcs/orbsvcs/IFRService/WstringDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/WstringDef_i.cpp index c66577da9d6..6f744c87331 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/WstringDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/WstringDef_i.cpp @@ -97,7 +97,7 @@ TAO_WstringDef_i::bound_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "bound", retval); - return static_cast<CORBA::ULong>(retval); + return static_cast<CORBA::ULong> (retval); } void |