blob: 19adfe7285d93beb7a391f11a894f762c2d94f60 (
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
|
//$Id$
#include "Prop_Handler.h"
#include "ANY_Handler.h"
CIAO::Config_Handlers::Prop_Handler::Prop_Handler()
{}
CIAO::Config_Handlers::Prop_Handler::~Prop_Handler()
{}
///This method maps the values from the
///XSC object <CIAO::Config_Handlers::Property> to
///the CORBA IDL type <Deployment::Property>.
Deployment::Property&
CIAO::Config_Handlers::Prop_Handler::get_Property(
Deployment::Property& toconfig,
Property& desc)
{
toconfig.name = CORBA::string_dup (desc.name().c_str());
//Create the ANY_Handler to
//delegate the Any configuration
//to.
ANY_Handler anyhandler;
//Delegate the Any configuration.
anyhandler.get_Any (toconfig.value, desc.value());
return toconfig;
}
|