blob: df92df49e9ca27a6f05e37184e921d7c8df169eb (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
template <class TYPE> ACE_INLINE const TYPE&
TAO_Notify_PropertyBase_T<TYPE>::value (void) const
{
return this->value_;
}
template <class TYPE> ACE_INLINE
const char *
TAO_Notify_PropertyBase_T<TYPE>::name (void) const
{
return this->name_;
}
template <class TYPE> ACE_INLINE CORBA::Boolean
TAO_Notify_PropertyBase_T<TYPE>::is_valid (void) const
{
return this->valid_;
}
template <class TYPE> ACE_INLINE bool
TAO_Notify_PropertyBase_T<TYPE>::operator== (const TYPE &rhs) const
{
return (this->value_ == rhs);
}
template <class TYPE> ACE_INLINE bool
TAO_Notify_PropertyBase_T<TYPE>::operator!= (const TYPE &rhs) const
{
return (this->value_ != rhs);
}
template <class TYPE> ACE_INLINE void
TAO_Notify_PropertyBase_T<TYPE>:: invalidate (void)
{
this->valid_ = 0;
}
template <class TYPE> ACE_INLINE
void
TAO_Notify_PropertyBase_T<TYPE>:: assign (const TYPE& value)
{
this->value_ = value;
this->valid_ = 1;
}
/******************************************************************************/
template <class TYPE> ACE_INLINE
const char *
TAO_Notify_StructProperty_T<TYPE>::name (void) const
{
return this->name_;
}
template <class TYPE> ACE_INLINE const TYPE&
TAO_Notify_StructProperty_T<TYPE>::value (void) const
{
return this->value_;
}
template <class TYPE> ACE_INLINE CORBA::Boolean
TAO_Notify_StructProperty_T<TYPE>::is_valid (void) const
{
return this->valid_;
}
TAO_END_VERSIONED_NAMESPACE_DECL
|