summaryrefslogtreecommitdiff
path: root/CIAO/tools/Config_Handlers/MDD_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/tools/Config_Handlers/MDD_Handler.cpp')
-rw-r--r--CIAO/tools/Config_Handlers/MDD_Handler.cpp26
1 files changed, 12 insertions, 14 deletions
diff --git a/CIAO/tools/Config_Handlers/MDD_Handler.cpp b/CIAO/tools/Config_Handlers/MDD_Handler.cpp
index 36ce5d55e69..97ab2b4055e 100644
--- a/CIAO/tools/Config_Handlers/MDD_Handler.cpp
+++ b/CIAO/tools/Config_Handlers/MDD_Handler.cpp
@@ -30,7 +30,7 @@ namespace CIAO
imp_b != imp_e;
++imp_b)
{
- MDD_Handler::mono_deployment_description (*imp_b,
+ MDD_Handler::mono_deployment_description (*(*imp_b),
dest[pos],
pos);
pos++;
@@ -56,7 +56,7 @@ namespace CIAO
++se)
{
toconfig.source[len++] =
- CORBA::string_dup ((*se).c_str ());
+ CORBA::string_dup ((*se)->c_str ());
}
MonolithicDeploymentDescription::artifact_const_iterator ae =
@@ -70,7 +70,7 @@ namespace CIAO
{
CORBA::ULong tmp = 0;
- ADD_Handler::IDREF.find_ref (ACE_CString (ab->idref ().id ().c_str ()),
+ ADD_Handler::IDREF.find_ref (ACE_CString ((*ab)->idref ().id ().c_str ()),
tmp);
toconfig.artifactRef[len++] = tmp;
@@ -85,8 +85,8 @@ namespace CIAO
epcb != epce;
++epcb)
{
- Property_Handler::handle_property ((*epcb),
- toconfig.execParameter[len++]);
+ Property_Handler::handle_property (*(*epcb),
+ toconfig.execParameter[len++]);
}
toconfig.deployRequirement.length (desc.count_deployRequirement ());
@@ -95,9 +95,9 @@ namespace CIAO
Requirement_Functor (toconfig.deployRequirement));
// Handle the idref
- if (desc.xmi_id_p ())
+ if (desc.id_p ())
{
- ACE_CString cstr (desc.xmi_id ().c_str ());
+ ACE_CString cstr (desc.id ().c_str ());
MDD_Handler::IDREF.bind_ref (cstr, pos);
}
@@ -125,7 +125,7 @@ namespace CIAO
for(size_t i = 0; i < total; i++)
{
XMLSchema::string< char > curr ((src.source[i]));
- mdd.add_source(curr);
+ //mdd.add_source(curr);
}
//Get the artifactRef(s) from the IDL and store them
@@ -136,23 +136,21 @@ namespace CIAO
ADD_Handler::IDREF.find_ref(src.artifactRef[j], tmp);
IdRef idref;
idref.idref (tmp.c_str ());
- mdd.add_artifact (idref);
+ //mdd.add_artifact (idref);
}
//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++)
{
- mdd.add_deployRequirement(
- Req_Handler::get_requirement (src.deployRequirement[l]));
+ //mdd.add_deployRequirement(Req_Handler::get_requirement (src.deployRequirement[l]));
}
// Generate a UUID to use for the IDREF.
@@ -166,7 +164,7 @@ namespace CIAO
// Bind the ref and set it in the IDD
MDD_Handler::IDREF.bind_next_available (mdd_id);
- mdd.xmi_id (xml_id);
+ mdd.id (xml_id);
return mdd;
}