diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp')
-rw-r--r-- | TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp b/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp deleted file mode 100644 index 6fa0928b637..00000000000 --- a/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// $Id$ - -#include "Req_Handler.h" -#include "Property_Handler.h" -#include "ciao/DeploymentC.h" - -namespace CIAO -{ - namespace Config_Handlers - { - - Req_Handler::Req_Handler (void) - { - } - - Req_Handler::~Req_Handler (void) - { - } - - void - Req_Handler::get_Requirement ( - Deployment::Requirement& toconfig, - Requirement& desc) - { - //Map the basic string types to their Deployment::Req - //counterparts. - toconfig.name = CORBA::string_dup (desc.name ().c_str ()); - toconfig.resourceType = - CORBA::string_dup (desc.resourceType ().c_str ()); - - //Map the XSC Req's property into the next - //position in the IDL Req's sequence. - /// @@ MAJO: - Property_Handler prophandler; - toconfig.property.length (toconfig.property.length () + 1); - Property_Handler::get_property ( - desc.property (), - 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); - - return req; - } - } -} |