diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/ComponentPropertyDescription_Handler.cpp')
-rw-r--r-- | TAO/CIAO/DAnCE/Config_Handlers/ComponentPropertyDescription_Handler.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/ComponentPropertyDescription_Handler.cpp b/TAO/CIAO/DAnCE/Config_Handlers/ComponentPropertyDescription_Handler.cpp new file mode 100644 index 00000000000..1f1593f976a --- /dev/null +++ b/TAO/CIAO/DAnCE/Config_Handlers/ComponentPropertyDescription_Handler.cpp @@ -0,0 +1,35 @@ +//$Id$ + +#include "ComponentPropertyDescription_Handler.h" +#include "DataType_Handler.h" + + +namespace CIAO{ + + namespace Config_Handlers{ + + CIAO::Config_Handlers::ComponentPropertyDescription_Handler::ComponentPropertyDescription_Handler(void) + { + } + CIAO::Config_Handlers::ComponentPropertyDescription_Handler::~ComponentPropertyDescription_Handler(void) + { + } + + void + CIAO::Config_Handlers::ComponentPropertyDescription_Handler::get_ComponentPropertyDescription ( + Deployment::ComponentPropertyDescription& toconfig, + ComponentPropertyDescription& desc) + { + //Copy the name to the CPD. + toconfig.name = CORBA::string_dup (desc.name ().c_str ()); + + //Delegate the DataType to the + //DataType_Handler. + DataType_Handler dtypehandler; + CORBA::TypeCode_ptr tcptr = toconfig.type; + dtypehandler.get_DataType (tcptr,desc.type ()); + + } + + } +} |