diff options
author | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:10:39 +0000 |
---|---|---|
committer | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:10:39 +0000 |
commit | e7b830ab561638ed25822054be80ce12e8801d38 (patch) | |
tree | a5b9aa16924c541fcb424ee9460b1ac7f5a89352 /modules/CIAO/tools/Config_Handlers/ID_Handler.cpp | |
parent | 9b720f395833b3ce2f499463e5fed37a0da926f4 (diff) | |
download | ATCD-DiffServ-Merge.tar.gz |
branching/taggingDiffServ-Merge
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; + } + + } + +} |