blob: 9b6279a3b3d3972fd1153c3c439406fa099d5a0d (
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
36
37
38
|
//$Id$
#include "Prop_Handler.h"
#include "ANY_Handler.h"
namespace CIAO
{
namespace Config_Handlers
{
CIAO::Config_Handlers::Prop_Handler::Prop_Handler (void)
{
}
CIAO::Config_Handlers::Prop_Handler::~Prop_Handler (void)
{
}
///This method maps the values from the
///XSC object <CIAO::Config_Handlers::Property> to
///the CORBA IDL type <Deployment::Property>.
void
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 ());
}
}
}
|