diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp')
-rw-r--r-- | TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp b/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp index 6fa0928b637..4a52efb9967 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp @@ -38,17 +38,23 @@ namespace CIAO toconfig.property[toconfig.property.length () - 1]); } - Requirement - Req_Handler::get_requirement ( - const Deployment::Requirement& src) - { - XMLSchema::string< char > name ((src.name)); - XMLSchema::string< char > res ((src.resourceType)); - Property prop ( - Property_Handler::get_property (src.property[0])); - Requirement req (name,res,prop); + 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)); - return req; - } + //Get the Property + Property prop ( + Property_Handler::get_property ( + src.property[0])); + + //Instantiate the Requirement + Requirement req (name,res,prop); + + return req; + } } } |