diff options
Diffstat (limited to 'DAnCE/tools/Config_Handlers/Property_Handler.cpp')
-rw-r--r-- | DAnCE/tools/Config_Handlers/Property_Handler.cpp | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/DAnCE/tools/Config_Handlers/Property_Handler.cpp b/DAnCE/tools/Config_Handlers/Property_Handler.cpp deleted file mode 100644 index 1c26a198d7a..00000000000 --- a/DAnCE/tools/Config_Handlers/Property_Handler.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "Property_Handler.h" -#include "Any_Handler.h" -#include "Basic_Deployment_Data.hpp" -#include "dance/Deployment/Deployment_DataC.h" -#include "dance/Logger/Log_Macros.h" -namespace DAnCE -{ - namespace Config_Handlers - { - - Property_Handler::Property_Handler (void) - { - } - - Property_Handler::~Property_Handler (void) - { - } - - void - Property_Handler::handle_property (const Property& desc, - Deployment::Property& toconfig) - { - DANCE_TRACE("Property_Handler::get_property"); - - try - { - toconfig.name = - CORBA::string_dup (ACE_TEXT_ALWAYS_CHAR (desc.name ().c_str ())); - - Any_Handler::extract_into_any (desc.value (), - toconfig.value); - } - catch (Config_Error &ex) - { - ex.name_ = desc.name (); - throw ex; - } - } - - Property - Property_Handler::get_property (const Deployment::Property& src) - { - DANCE_TRACE("Property_Handler::get_property - reverse"); - - ::XMLSchema::string< ACE_TCHAR > name (ACE_TEXT_CHAR_TO_TCHAR(src.name)); - Any value (Any_Handler::get_any (src.value)); - - Property prop (name,value); - - return prop; - } - - } -} |