blob: 17eaa33db935f0762e9f31aedb1e6483fc9c71f9 (
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
|
// $Id$
#include "ConfigValue.h"
namespace CIAO
{
ConfigValue_impl::ConfigValue_impl()
{
CORBA::Any any;
any <<= CORBA::Short(0);
name((const char*)"");
value(any);
}
ConfigValue_impl::ConfigValue_impl(const char* the_name,
const CORBA::Any& the_value)
: OBV_Components::ConfigValue(the_name, the_value)
{
}
CORBA::ValueBase* ConfigValue_impl::_copy_value()
{
return new ConfigValue_impl(name(),value());
}
ConfigValue_impl::~ConfigValue_impl()
throw ()
{
}
CORBA::ValueBase *
ConfigValueFactory::create_for_unmarshal ()
{
return new ConfigValue_impl();
}
}
|