diff options
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp')
-rw-r--r-- | TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp index 621f24de6a3..4a52efb9967 100644 --- a/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp +++ b/TAO/CIAO/tools/Config_Handlers/Req_Handler.cpp @@ -3,7 +3,7 @@ #include "Req_Handler.h" #include "Property_Handler.h" #include "ciao/DeploymentC.h" -#include "ciao/CIAO_common.h" + namespace CIAO { namespace Config_Handlers @@ -22,8 +22,6 @@ namespace CIAO Deployment::Requirement& toconfig, Requirement& desc) { - CIAO_TRACE("Req_Handler::get_Requirement"); - //Map the basic string types to their Deployment::Req //counterparts. toconfig.name = CORBA::string_dup (desc.name ().c_str ()); @@ -40,22 +38,23 @@ namespace CIAO toconfig.property[toconfig.property.length () - 1]); } - Requirement - Req_Handler::get_requirement (const Deployment::Requirement& src) - { - CIAO_TRACE("Req_Handler::get_requirement - reverse"); - - //Get the values for name and res - XMLSchema::string< char > name ((src.name)); - XMLSchema::string< char > res ((src.resourceType)); - - //Get the Property - Property prop (Property_Handler::get_property (src.property[0])); - - //Instantiate the Requirement - Requirement req (name,res,prop); - - return req; - } + Requirement + Req_Handler::get_requirement ( + const Deployment::Requirement& src) + { + //Get the values for name and res + XMLSchema::string< char > name ((src.name)); + XMLSchema::string< char > res ((src.resourceType)); + + //Get the Property + Property prop ( + Property_Handler::get_property ( + src.property[0])); + + //Instantiate the Requirement + Requirement req (name,res,prop); + + return req; + } } } |