diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2009-05-08 16:31:19 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2009-05-08 16:31:19 +0000 |
commit | 155169c8ee617b2c68bc22e9055707628dead164 (patch) | |
tree | df8715892fe667f4e972e716720d504d60b0fe51 /CIAO/tools/Config_Handlers/CCD_Handler.cpp | |
parent | bbc44ca771dc4c5efde7bcd7d35fde6e004a2d40 (diff) | |
download | ATCD-155169c8ee617b2c68bc22e9055707628dead164.tar.gz |
Fri May 8 16:30:19 UTC 2009 William R. Otte <wotte@dre.vanderbilt.edu>
Diffstat (limited to 'CIAO/tools/Config_Handlers/CCD_Handler.cpp')
-rw-r--r-- | CIAO/tools/Config_Handlers/CCD_Handler.cpp | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/CIAO/tools/Config_Handlers/CCD_Handler.cpp b/CIAO/tools/Config_Handlers/CCD_Handler.cpp index 871cb5c44f1..df09051dd82 100644 --- a/CIAO/tools/Config_Handlers/CCD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/CCD_Handler.cpp @@ -46,7 +46,7 @@ namespace CIAO s != end; ++s) { - toconfig.supportedType[pos++] = s->c_str (); + toconfig.supportedType[pos++] = (*s)->c_str (); } ComponentInterfaceDescription::idlFile_const_iterator @@ -58,7 +58,7 @@ namespace CIAO sidl != eidl; ++sidl) { - toconfig.idlFile [pos++] = sidl->c_str (); + toconfig.idlFile [pos++] = (*sidl)->c_str (); } ComponentInterfaceDescription::configProperty_const_iterator pend = @@ -70,8 +70,8 @@ namespace CIAO pstart != pend; ++pstart) { - Property_Handler::handle_property (*pstart, - toconfig.configProperty [pos++]); + Property_Handler::handle_property (*(*pstart), + toconfig.configProperty [pos++]); } pos = 0; @@ -81,8 +81,8 @@ namespace CIAO port != desc.end_port (); ++port) { - CPD_Handler::handle_component_port_description (*port, - toconfig.port[pos++]); + CPD_Handler::handle_component_port_description (*(*port), + toconfig.port[pos++]); } pos = 0; @@ -93,7 +93,7 @@ namespace CIAO prop != desc.end_property(); prop++) { - ComponentPropertyDescription_Handler::component_property_description (*prop, + ComponentPropertyDescription_Handler::component_property_description (*(*prop), toconfig.property[pos++]); } @@ -104,8 +104,8 @@ namespace CIAO infoProp != desc.end_infoProperty(); infoProp++) { - Property_Handler::handle_property (*infoProp, - toconfig.infoProperty[pos]); + Property_Handler::handle_property (*(*infoProp), + toconfig.infoProperty[pos]); } } @@ -131,7 +131,7 @@ namespace CIAO for (size_t i = 0; i < total; ++i) { XMLSchema::string< char > curr ((src.supportedType[i])); - cid.add_supportedType (curr); + //cid.add_supportedType (new XMLSchema::string< ACE_TCHAR > (curr)); } //Get the idlFile(s) and store them into the cid @@ -139,23 +139,21 @@ namespace CIAO for (size_t j = 0; j < total; ++j) { XMLSchema::string< char > curr ((src.idlFile[j])); - cid.add_idlFile (curr); + //cid.add_idlFile (curr); } //Get the configProperty(ies) and store them into the cid total = src.configProperty.length (); for (size_t k = 0; k < total; ++k) { - cid.add_configProperty ( - Property_Handler::get_property (src.configProperty[k])); + //cid.add_configProperty (Property_Handler::get_property (src.configProperty[k])); } //Same drill for the component port description(s) total = src.port.length (); for (size_t l = 0; l < total; ++l) { - cid.add_port ( - CPD_Handler::component_port_description (src.port[l])); + //cid.add_port (CPD_Handler::component_port_description (src.port[l])); } @@ -165,9 +163,7 @@ namespace CIAO m < total; m++) { - cid.add_property( - ComponentPropertyDescription_Handler::component_property_description ( - src.property[m])); + //cid.add_property(ComponentPropertyDescription_Handler::component_property_description (src.property[m])); } //Load up the infoProperty(s) @@ -176,8 +172,7 @@ namespace CIAO n < total; n++) { - cid.add_infoProperty( - Property_Handler::get_property (src.infoProperty[n])); + //cid.add_infoProperty(Property_Handler::get_property (src.infoProperty[n])); } return cid; |