diff options
| author | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
|---|---|---|
| committer | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
| commit | b71531b42b3325fd6079a7039aae8641262c8adf (patch) | |
| tree | a5b9aa16924c541fcb424ee9460b1ac7f5a89352 /modules/CIAO/tools/Config_Handlers/ID_Handler.cpp | |
| parent | a0f67cc97c0050d907145e312135b60c0125e56e (diff) | |
| download | ATCD-DS-main.tar.gz | |
branching/taggingDS-main
Diffstat (limited to 'modules/CIAO/tools/Config_Handlers/ID_Handler.cpp')
| -rw-r--r-- | modules/CIAO/tools/Config_Handlers/ID_Handler.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/CIAO/tools/Config_Handlers/ID_Handler.cpp b/modules/CIAO/tools/Config_Handlers/ID_Handler.cpp new file mode 100644 index 00000000000..5d3cad169a6 --- /dev/null +++ b/modules/CIAO/tools/Config_Handlers/ID_Handler.cpp @@ -0,0 +1,45 @@ +// $Id$ + +#include "ID_Handler.h" +#include "Basic_Deployment_Data.hpp" +#include "ciao/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; + } + + } + +} |
