diff options
-rw-r--r-- | TAO/ChangeLog | 12 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.h | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/tmplinst.cpp | 12 |
4 files changed, 30 insertions, 6 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 72f98e76a7a..6bc1fa3fd43 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,15 @@ +Mon Jun 9 16:17:37 2003 Jeff Parsons <j.parsons@vanderbilt.edu> + + * orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp: + * orbsvcs/orbsvcs/IFRService/HomeDef_i.h: + + Added 'const' qualifier to operation parameters where only + constant strings are passed in. + + * orbsvcs/orbsvcs/IFRService/tmplinst.cpp: + + Added explicit template instantiations for recent changes. + Mon Jun 09 15:34:57 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> * performance-tests/Latency/Single_Threaded/svc.conf.xml: diff --git a/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp index ee55a659f70..b6883d6799b 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.cpp @@ -780,7 +780,7 @@ TAO_HomeDef_i::fill_op_desc_seq (ACE_Configuration_Section_Key &key, void TAO_HomeDef_i::fill_op_desc (ACE_Configuration_Section_Key &key, CORBA::OperationDescription &od, - char *sub_section + const char *sub_section ACE_ENV_ARG_DECL) { ACE_Configuration_Section_Key op_key; @@ -913,7 +913,7 @@ TAO_HomeDef_i::fill_param_desc (ACE_Configuration_Section_Key &key, void TAO_HomeDef_i::fill_exc_desc_seq (ACE_Configuration_Section_Key &key, CORBA::ExcDescriptionSeq &eds, - char *sub_section + const char *sub_section ACE_ENV_ARG_DECL) { eds.length (0); @@ -950,7 +950,7 @@ TAO_HomeDef_i::fill_exc_desc_seq (ACE_Configuration_Section_Key &key, void TAO_HomeDef_i::fill_exc_desc (ACE_Configuration_Section_Key &key, CORBA::ExceptionDescription &ed, - char *sub_section + const char *sub_section ACE_ENV_ARG_DECL) { ACE_TString path; diff --git a/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.h b/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.h index 934bc1d7bb4..abb7f5047a1 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.h +++ b/TAO/orbsvcs/orbsvcs/IFRService/HomeDef_i.h @@ -241,7 +241,7 @@ private: void fill_op_desc (ACE_Configuration_Section_Key &key, CORBA::OperationDescription &od, - char *sub_section + const char *sub_section ACE_ENV_ARG_DECL); void fill_param_desc_seq (ACE_Configuration_Section_Key &key, @@ -256,12 +256,12 @@ private: void fill_exc_desc_seq (ACE_Configuration_Section_Key &key, CORBA::ExcDescriptionSeq &eds, - char *sub_section + const char *sub_section ACE_ENV_ARG_DECL); void fill_exc_desc (ACE_Configuration_Section_Key &key, CORBA::ExceptionDescription &ed, - char *sub_section + const char *sub_section ACE_ENV_ARG_DECL); void fill_attr_desc_seq (ACE_Configuration_Section_Key &key, diff --git a/TAO/orbsvcs/orbsvcs/IFRService/tmplinst.cpp b/TAO/orbsvcs/orbsvcs/IFRService/tmplinst.cpp index a943e8e88d6..7e7df0b718c 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/tmplinst.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/tmplinst.cpp @@ -137,6 +137,8 @@ template class TAO_IFR_Generic_Utils<TAO_UsesDef_i>; template class TAO_IFR_Generic_Utils<TAO_EmitsDef_i>; template class TAO_IFR_Generic_Utils<TAO_PublishesDef_i>; template class TAO_IFR_Generic_Utils<TAO_ConsumesDef_i>; +template class TAO_IFR_Generic_Utils<TAO_FinderDef_i>; +template class TAO_IFR_Generic_Utils<TAO_FactoryDef_i>; template class TAO_Port_Desc_Seq_Utils<CORBA::ComponentIR::ProvidesDescriptionSeq>; template class TAO_Port_Utils<CORBA::ComponentIR::ProvidesDef>; template class TAO_Port_Utils<CORBA::ComponentIR::EmitsDef>; @@ -144,6 +146,10 @@ template class TAO_Port_Utils<CORBA::ComponentIR::PublishesDef>; template class TAO_Port_Utils<CORBA::ComponentIR::ConsumesDef>; template class TAO_IFR_Strseq_Utils<CORBA::RepositoryIdSeq>; template class TAO_IFR_Strseq_Utils<CORBA::ContextIdSeq>; +template class TAO_IFR_Desc_Utils<CORBA::OperationDescription, TAO_OperationDef_i>; +template class TAO_IFR_Desc_Utils<CORBA::ComponentIR::HomeDescription, TAO_HomeDef_i>; +template class TAO_IFR_Desc_Utils<CORBA::ExceptionDescription, TAO_ExceptionDef_i>; +template class TAO_IFR_Desc_Utils<CORBA::ExtAttributeDescription, TAO_AttributeDef_i>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) @@ -273,6 +279,8 @@ template class TAO_IFR_Strseq_Utils<CORBA::ContextIdSeq>; #pragma instantiate TAO_IFR_Generic_Utils<TAO_EmitsDef_i> #pragma instantiate TAO_IFR_Generic_Utils<TAO_PublishesDef_i> #pragma instantiate TAO_IFR_Generic_Utils<TAO_ConsumesDef_i> +#pragma instantiate TAO_IFR_Generic_Utils<TAO_FinderDef_i> +#pragma instantiate TAO_IFR_Generic_Utils<TAO_FactoryDef_i> #pragma instantiate TAO_Port_Desc_Seq_Utils<CORBA::ComponentIR::ProvidesDescriptionSeq> #pragma instantiate TAO_Port_Utils<CORBA::ComponentIR::ProvidesDef> #pragma instantiate TAO_Port_Utils<CORBA::ComponentIR::EmitsDef> @@ -280,5 +288,9 @@ template class TAO_IFR_Strseq_Utils<CORBA::ContextIdSeq>; #pragma instantiate TAO_Port_Utils<CORBA::ComponentIR::ConsumesDef> #pragma instantiate TAO_IFR_Strseq_Utils<CORBA::RepositoryIdSeq> #pragma instantiate TAO_IFR_Strseq_Utils<CORBA::ContextIdSeq> +#pragma instantiate TAO_IFR_Desc_Utils<CORBA::OperationDescription, TAO_OperationDef_i> +#pragma instantiate TAO_IFR_Desc_Utils<CORBA::ComponentIR::HomeDescription, TAO_HomeDef_i> +#pragma instantiate TAO_IFR_Desc_Utils<CORBA::ExceptionDescription, TAO_ExceptionDef_i> +#pragma instantiate TAO_IFR_Desc_Utils<CORBA::ExtAttributeDescription, TAO_AttributeDef_i> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |