diff options
Diffstat (limited to 'CIAO/tools/Config_Handlers/ID_Handler.cpp')
-rw-r--r-- | CIAO/tools/Config_Handlers/ID_Handler.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/CIAO/tools/Config_Handlers/ID_Handler.cpp b/CIAO/tools/Config_Handlers/ID_Handler.cpp new file mode 100644 index 00000000000..b2e888338e0 --- /dev/null +++ b/CIAO/tools/Config_Handlers/ID_Handler.cpp @@ -0,0 +1,45 @@ +// $Id$ + +#include "ID_Handler.h" +#include "Basic_Deployment_Data.hpp" +#include "DAnCE/Deployment/Deployment_DataC.h" +#include "ciao/CIAO_common.h" +namespace CIAO +{ + namespace Config_Handlers + { + ID_Handler::ID_Handler (void) + { + } + + ID_Handler::~ID_Handler (void) + { + } + + + void + ID_Handler::get_ImplementationDependency (const ImplementationDependency& desc, + Deployment::ImplementationDependency& toconfig) + { + + CIAO_TRACE("ID_Handler::get_ImplementationDependency"); + + toconfig.requiredType= + CORBA::string_dup (desc.requiredType ().c_str ()); + } + + ImplementationDependency + ID_Handler::impl_dependency ( + const ::Deployment::ImplementationDependency& src) + { + CIAO_TRACE("ID_Handler::get_ImplementationDependency - reverse"); + XMLSchema::string< char > reqtype ((src.requiredType)); + + ImplementationDependency id (reqtype); + + return id; + } + + } + +} |