summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-04-13 14:47:50 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-04-13 14:47:50 +0000
commitfeb8e89d1f3932917e3068c9c23db15ce55286e4 (patch)
tree0d62c61c2e4151b7665392d162436ee7d1e6782d /TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
parentcbe8aa5d5be1d4679ae0c4e30baaea24fbae416c (diff)
downloadATCD-escher_x_4_9_integration_point.tar.gz
Thu Apr 13 13:43:19 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>escher_x_4_9_integration_point
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp')
-rw-r--r--TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
index 6c56f10a44e..e7f9fa0266d 100644
--- a/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
+++ b/TAO/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp
@@ -3,32 +3,34 @@
#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)
+ 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
+ //#if 0
CORBA::TypeCode_ptr tcptr = toconfig.type.in ();
- DataType_Handler::data_type (tcptr,desc.type ());
-//#endif /*if 0*/
+ DataType_Handler::data_type (desc.type (), tcptr);
+ //#endif /*if 0*/
}
- ComponentPropertyDescription
+ ComponentPropertyDescription
ComponentPropertyDescription_Handler::component_property_description (
- const ::Deployment::ComponentPropertyDescription &src)
+ 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);