blob: 1f1593f976a651e5cc31d6f17b67dc26c983d460 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 ());
}
}
}
|