summaryrefslogtreecommitdiff
path: root/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp')
-rw-r--r--CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp b/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
deleted file mode 100644
index e7f9fa0266d..00000000000
--- a/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-//$Id$
-
-#include "ComponentPropertyDescription_Handler.h"
-#include "DataType_Handler.h"
-#include "ciao/Deployment_DataC.h"
-#include "ciao/CIAO_common.h"
-namespace CIAO
-{
- namespace Config_Handlers
- {
- void
- ComponentPropertyDescription_Handler::component_property_description (
- const ComponentPropertyDescription& desc,
- ::Deployment::ComponentPropertyDescription& toconfig)
- {
- CIAO_TRACE("ComponentPropertyDescription_Handler::component_property_description");
- toconfig.name = CORBA::string_dup (desc.name ().c_str ());
-
- // Delegate the DataType to the
- // DataType_Handler.
-
- // @@ There is a lurking bug here.
- //#if 0
- CORBA::TypeCode_ptr tcptr = toconfig.type.in ();
- DataType_Handler::data_type (desc.type (), tcptr);
- //#endif /*if 0*/
- }
-
- ComponentPropertyDescription
- ComponentPropertyDescription_Handler::component_property_description (
- const ::Deployment::ComponentPropertyDescription &src)
- {
- CIAO_TRACE("ComponentPropertyDescription_Handler::component_property_description - reverse");
- XMLSchema::string< char > name ((src.name));
- DataType dt (DataType_Handler::data_type (src.type));
- ComponentPropertyDescription cpd (name,dt);
- return cpd;
- }
-
- }
-}