summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-12 14:49:02 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-12 14:49:02 +0000
commitcbe8aa5d5be1d4679ae0c4e30baaea24fbae416c (patch)
treeb9f7b9d73fe1ba0675ac5233476b66a61b8f8521 /TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp
parenta2dd5f907273d7561f3ccac51d7fffc8bb4b6893 (diff)
downloadATCD-cbe8aa5d5be1d4679ae0c4e30baaea24fbae416c.tar.gz
This commit was manufactured by cvs2svn to create branch
'escher_x_4_9_integration_point'.
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp')
-rw-r--r--TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp48
1 files changed, 23 insertions, 25 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp
index 5897a3d4e76..5f1978d41b9 100644
--- a/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp
+++ b/TAO/CIAO/tools/Config_Handlers/IDD_Handler.cpp
@@ -21,7 +21,6 @@ namespace CIAO
Deployment::InstanceDeploymentDescriptions& dest)
throw (Config_Error)
{
- CIAO_TRACE("IDD_Handler::instance_deployment_descrs");
DeploymentPlan::instance_const_iterator idd_e =
src.end_instance ();
@@ -45,7 +44,6 @@ namespace CIAO
CORBA::ULong pos)
throw (Config_Error)
{
- CIAO_TRACE("IDD_Handler::instance_deployment_descr");
try
{
dest.name = src.name ().c_str ();
@@ -116,38 +114,38 @@ namespace CIAO
const Deployment::InstanceDeploymentDescription& src)
throw (Config_Error)
{
- CIAO_TRACE("IDD_Handler::instance_deployment_descr - reverse");
- //Get all the string/IDREFs
- XMLSchema::string < ACE_TCHAR > name ((src.name));
- XMLSchema::string < ACE_TCHAR > node ((src.node));
- XMLSchema::string < ACE_TCHAR > source ((src.source[0]));
- ACE_CString temp;
- MDD_Handler::IDREF.find_ref(src.implementationRef, temp);
- XMLSchema::IDREF< ACE_TCHAR > implementation ((temp.c_str()));
-
- // Instantiate the IDD
- InstanceDeploymentDescription idd (name, node, source, implementation);
-
- //Get and store the configProperty(s)
- size_t total = src.configProperty.length();
- for(size_t j = 0; j < total; j++)
+
+ //Get all the string/IDREFs
+ XMLSchema::string < ACE_TCHAR > name ((src.name));
+ XMLSchema::string < ACE_TCHAR > node ((src.node));
+ XMLSchema::string < ACE_TCHAR > source ((src.source[0]));
+ ACE_CString temp;
+ MDD_Handler::IDREF.find_ref(src.implementationRef, temp);
+ XMLSchema::IDREF< ACE_TCHAR > implementation ((temp.c_str()));
+
+ // Instantiate the IDD
+ InstanceDeploymentDescription idd (name, node, source, implementation);
+
+ //Get and store the configProperty(s)
+ size_t total = src.configProperty.length();
+ for(size_t j = 0; j < total; j++)
{
- idd.add_configProperty(
+ idd.add_configProperty(
Property_Handler::get_property (
src.configProperty[j]));
}
- //Check if there is a deployedResource, if so store
- if(src.deployedResource.length() != 0)
- idd.deployedResource(
+ //Check if there is a deployedResource, if so store
+ if(src.deployedResource.length() != 0)
+ idd.deployedResource(
IRDD_Handler::instance_resource_deployment_descr(
src.deployedResource[0]));
- //Check if there is a deployedSharedResource, if so store it
- if(src.deployedSharedResource.length() != 0)
- idd. deployedSharedResource(
+ //Check if there is a deployedSharedResource, if so store it
+ if(src.deployedSharedResource.length() != 0)
+ idd. deployedSharedResource(
IRDD_Handler::instance_resource_deployment_descr(
- src.deployedSharedResource[0]));
+ src.deployedSharedResource[0]));
return idd;
}