blob: 17fadf5df671472cc95153d962051f3a1b9e4484 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file PG_Properties_Encoder.inl
*
* $Id$
*
* @author Dale Wilson <wilson_d@ociweb.com>
*/
//=============================================================================
namespace TAO_PG
{
ACE_INLINE
Properties_Encoder::NamedValue::NamedValue ()
{
}
ACE_INLINE
Properties_Encoder::NamedValue::NamedValue (const ACE_CString & name, const PortableGroup::Value & value)
: name_ (name)
, value_ (value)
{
}
ACE_INLINE
Properties_Encoder::NamedValue::NamedValue (const Properties_Encoder::NamedValue & rhs)
: name_ (rhs.name_)
, value_ (rhs.value_)
{
}
ACE_INLINE
Properties_Encoder::NamedValue &
Properties_Encoder::NamedValue::operator = (const Properties_Encoder::NamedValue & rhs)
{
if (this != &rhs)
{
this->name_ = rhs.name_;
this->value_ = rhs.value_;
}
return *this;
}
ACE_INLINE
bool
Properties_Encoder::NamedValue::operator == (const Properties_Encoder::NamedValue &rhs) const
{
return this->name_ == rhs.name_;
}
ACE_INLINE
bool
Properties_Encoder::NamedValue::operator != (const Properties_Encoder::NamedValue &rhs) const
{
return this->name_ != rhs.name_;
}
} //namespace TAO_PG
|