diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/Cap_Handler.cpp')
-rw-r--r-- | TAO/CIAO/DAnCE/Config_Handlers/Cap_Handler.cpp | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Cap_Handler.cpp b/TAO/CIAO/DAnCE/Config_Handlers/Cap_Handler.cpp deleted file mode 100644 index d357bc03ec8..00000000000 --- a/TAO/CIAO/DAnCE/Config_Handlers/Cap_Handler.cpp +++ /dev/null @@ -1,57 +0,0 @@ -//================================================================== -/** - * @file Cap_Handler.cpp - * - * $Id$ - * - * @author Emre Turkay <turkaye@dre.vanderbilt.edu> - */ -//================================================================== - -#include "Cap_Handler.h" -#include "SP_Handler.h" -#include "tao/Exception.h" -#include "Utils.h" -#include <iostream> -#include "string.h" -#include "Utils.h" -#include "Process_Element.h" - -BEGIN_DEPLOYMENT_NAMESPACE - -void -CAP_Handler::process_Capability (Deployment::Capability &cap) -{ - //Check if the Schema IDs for both the elements match - for (DOMNode* node = this->iter_->nextNode(); - node != 0; - node = this->iter_->nextNode()) - { - XStr node_name (node->getNodeName ()); - - if (node_name == XStr - (ACE_TEXT ("Deployment:Capability"))) - { - } - else if - (CIAO::Config_Handler::Utils::process_string - (this->iter_, node_name, "name", cap.name)); - else if - (CIAO::Config_Handler::Utils::process_string_seq - (this->iter_, node_name, "resourceType", - cap.resourceType)); - else if - (process_sequence_common<Deployment::SatisfierProperty> - (this->doc_, this->iter_, node, - node_name, "property", cap.property, - &SP_Handler::process_SatisfierProperty, - this->id_map_)); - else - { - this->iter_->previousNode (); - break; - } - } -} - -END_DEPLOYMENT_NAMESPACE |