summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp')
-rw-r--r--TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp60
1 files changed, 29 insertions, 31 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp
index 1acbc3c1c9a..e9200cb0a49 100644
--- a/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp
+++ b/TAO/CIAO/tools/Config_Handlers/MDD_Handler.cpp
@@ -18,8 +18,6 @@ namespace CIAO
const DeploymentPlan& src,
Deployment::MonolithicDeploymentDescriptions& dest)
{
- CIAO_TRACE("MDD_Handler::mono_deployment_descriptions");
-
DeploymentPlan::implementation_const_iterator imp_e =
src.end_implementation ();
CORBA::ULong pos = 0;
@@ -122,47 +120,47 @@ namespace CIAO
MDD_Handler::mono_deployment_description(
const Deployment::MonolithicDeploymentDescription &src)
{
- CIAO_TRACE("mono_deployment_description - reverse");
-
- //Get the name and instantiate the mdd
- XMLSchema::string < char > name ((src.name));
- MonolithicDeploymentDescription mdd (name);
-
- //Get the source(s) from the IDL and store them
- size_t total = src.source.length();
- for(size_t i = 0; i < total; i++)
+ //Get the name and instantiate the mdd
+ XMLSchema::string < char > name ((src.name));
+ MonolithicDeploymentDescription mdd (name);
+
+ //Get the source(s) from the IDL and store them
+ size_t total = src.source.length();
+ for(size_t i = 0; i < total; i++)
{
- XMLSchema::string< char > curr ((src.source[i]));
- mdd.add_source(curr);
+ XMLSchema::string< char > curr ((src.source[i]));
+ mdd.add_source(curr);
}
- //Get the artifactRef(s) from the IDL and store them
- total = src.artifactRef.length();
- for(size_t j = 0; j < total; j++)
+ //Get the artifactRef(s) from the IDL and store them
+ total = src.artifactRef.length();
+ for(size_t j = 0; j < total; j++)
{
- ACE_CString tmp;
- ADD_Handler::IDREF.find_ref(src.artifactRef[j], tmp);
- XMLSchema::IDREF< ACE_TCHAR > curr(tmp.c_str());
- mdd.add_artifact (curr);
+ ACE_CString tmp;
+ ADD_Handler::IDREF.find_ref(src.artifactRef[j], tmp);
+ XMLSchema::IDREF< ACE_TCHAR > curr(tmp.c_str());
+ mdd.add_artifact (curr);
}
- //Get the execParameter(s) from the IDL and store them
- total = src.execParameter.length();
- for(size_t k = 0; k < total; k++)
+ //Get the execParameter(s) from the IDL and store them
+ total = src.execParameter.length();
+ for(size_t k = 0; k < total; k++)
{
- mdd.add_execParameter (
- Property_Handler::get_property (src.execParameter[k]));
+ mdd.add_execParameter (
+ Property_Handler::get_property (
+ src.execParameter[k]));
}
- //Get the deployRequirement(s) from the IDL and store them
- total = src.deployRequirement.length();
- for(size_t l = 0; l < total; l++)
+ //Get the deployRequirement(s) from the IDL and store them
+ total = src.deployRequirement.length();
+ for(size_t l = 0; l < total; l++)
{
- mdd.add_deployRequirement(
- Req_Handler::get_requirement (src.deployRequirement[l]));
+ mdd.add_deployRequirement(
+ Req_Handler::get_requirement (
+ src.deployRequirement[l]));
}
- return mdd;
+ return mdd;
}
}