25 #ifndef __DOTS_CONTAINER_PROXIES_H__
26 #define __DOTS_CONTAINER_PROXIES_H__
49 m_container.SetNull();
53 m_container.SetVal(other.
GetVal());
62 bool IsNull()
const {
return m_container.IsNull();}
64 bool IsChanged()
const {
return m_container.IsChanged();}
65 void SetChanged(
const bool changed) {m_container.SetChanged(changed);}
137 {
return second == first;}
139 {
return second != first;}
142 {
return second == first;}
144 {
return second != first;}
147 {
return second == first;}
149 {
return second != first;}
152 {
return second == first;}
154 {
return second != first;}
169 m_container.SetNull();
173 m_container.SetVal(other.
GetVal());
182 bool IsNull()
const {
return m_container.IsNull();}
184 bool IsChanged()
const {
return m_container.IsChanged();}
185 void SetChanged(
const bool changed) {m_container.SetChanged(changed);}
193 const std::string &
Utf8String()
const {
return m_container.Utf8String();}
205 return m_container.GetVal() == val;
210 return m_container.GetVal() != val;
221 {
return second == first;}
223 {
return second != first;}
238 m_container.SetNull();
242 m_container.SetVal(other.
GetVal());
251 bool IsNull()
const {
return m_container.IsNull();}
253 bool IsChanged()
const {
return m_container.IsChanged();}
254 void SetChanged(
const bool changed) {m_container.SetChanged(changed);}
264 return m_container.GetVal() == val;
269 return m_container.GetVal() != val;
279 {
return second == first;}
281 {
return second != first;}
296 m_container.SetNull();
300 m_container.SetPtr(other);
310 {
return m_container.operator->(); }
312 bool IsNull()
const {
return m_container.IsNull();}
314 bool IsChanged()
const {
return m_container.IsChanged();}
315 void SetChanged(
const bool changed) {m_container.SetChanged(changed);}
345 m_container.SetNull();
349 m_container.SetPtr(other);
359 {
return m_container.operator->(); }
361 bool IsNull()
const {
return m_container.IsNull();}
363 bool IsChanged()
const {
return m_container.IsChanged();}
364 void SetChanged(
const bool changed) {m_container.SetChanged(changed);}
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:234
bool IsNull() const
Definition: ContainerProxies.h:182
Class containing the identity of a channel.
Definition: ChannelId.h:44
static bool operator!=(const ContainerProxy< ChannelIdContainer > &first, const ChannelId &second)
Definition: ContainerProxies.h:138
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:324
The base class for all DOB objects.
Definition: Object.h:54
EnumerationValue GetOrdinal() const
Definition: ContainerProxies.h:73
Class containing the identity of an entity.
Definition: EntityId.h:41
Object *const operator->() const
Definition: ContainerProxies.h:358
ContainerProxy & operator--()
Definition: ContainerProxies.h:91
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:305
Class containing the identity of a handler.
Definition: HandlerId.h:44
void SetPtr(const ContainedType &ptr)
Definition: ContainerProxies.h:320
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:195
void SetNull()
Definition: ContainerProxies.h:362
This is a specialization of the ObjectContainerImpl template for the case where the template argument...
Definition: ObjectContainer.h:381
BinaryContainer & GetContainer()
Definition: ContainerProxies.h:273
boost::shared_ptr< T > T_Ptr
Typedef for the contained smart pointer.
Definition: ObjectContainer.h:189
Binary ContainedType
Definition: ValueContainers.h:263
void SetChanged(const bool changed)
Definition: ContainerProxies.h:364
Definition: ContainerProxies.h:227
ContainerProxy(ObjectContainerImpl< U > &container)
Definition: ContainerProxies.h:290
void SetChangedHere(const bool changed)
Definition: ContainerProxies.h:366
const ObjectContainerImpl< Object > & GetContainer() const
Definition: ContainerProxies.h:375
StringContainer::ContainedType ContainedType
Definition: ContainerProxies.h:161
Container for Binary.
Definition: ValueContainers.h:260
std::wstring ContainedType
Definition: ValueContainers.h:131
ContainerProxy & operator*=(const ContainedType &val)
Definition: ContainerProxies.h:118
bool IsChangedHere() const
Definition: ContainerProxies.h:367
Definition: ContainerProxies.h:38
ContainerProxy(BinaryContainer &container)
Definition: ContainerProxies.h:232
const ContainedType & GetVal() const
Definition: ContainerProxies.h:259
void SetChanged(const bool changed)
Definition: ContainerProxies.h:254
Class containing the identity of an instance.
Definition: InstanceId.h:47
bool IsChanged() const
Definition: ContainerProxies.h:253
const std::string & Utf8String() const
Definition: ContainerProxies.h:193
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:45
const StringContainer & GetContainer() const
Definition: ContainerProxies.h:213
void SetPtr(const ObjectPtr &ptr)
Definition: ContainerProxies.h:321
bool IsChanged() const
Definition: ContainerProxies.h:363
bool IsChanged() const
Definition: ContainerProxies.h:314
const ContainedType & GetVal() const
Definition: ContainerProxies.h:190
bool IsNull() const
Definition: ContainerProxies.h:62
static bool operator==(const ContainerProxy< ChannelIdContainer > &first, const ChannelId &second)
Definition: ContainerProxies.h:136
ContainerProxy & operator=(const ContainedType other)
Definition: ContainerProxies.h:58
const T & GetContainer() const
Definition: ContainerProxies.h:130
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:373
bool IsNull() const
Definition: ContainerProxies.h:361
ObjectContainerImpl< Object >::T_Ptr ContainedType
Definition: ContainerProxies.h:337
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:354
Template class for all containers of automatically generated DOB objects.
Definition: ObjectContainer.h:185
void SetVal(const ContainedType value)
Definition: ContainerProxies.h:68
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:178
Container for strings (std::wstring).
Definition: ValueContainers.h:128
void SetChanged(const bool changed)
Definition: ContainerProxies.h:315
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:247
void SetNull()
Definition: ContainerProxies.h:252
T::ContainedType ContainedType
Definition: ContainerProxies.h:41
Definition: ContainerProxies.h:158
Int32 Utf8StringLength() const
Definition: ContainerProxies.h:192
T & GetContainer()
Definition: ContainerProxies.h:131
const ContainedType & GetPtr() const
Definition: ContainerProxies.h:323
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:260
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition: Object.h:41
const ObjectContainerImpl< U > & GetContainer() const
Definition: ContainerProxies.h:326
ContainerProxy(ObjectContainerImpl< Object > &container)
Definition: ContainerProxies.h:339
ObjectContainerImpl< Object > & GetContainer()
Definition: ContainerProxies.h:376
ObjectContainerImpl< U > & GetContainer()
Definition: ContainerProxies.h:327
const ContainedType & GetPtr() const
Definition: ContainerProxies.h:371
ContainerProxy(StringContainer &container)
Definition: ContainerProxies.h:163
void SetOrdinal(const EnumerationValue value)
Definition: ContainerProxies.h:72
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:341
bool IsChanged() const
Definition: ContainerProxies.h:184
bool IsChanged() const
Definition: ContainerProxies.h:64
ContainerProxy(T &container)
Definition: ContainerProxies.h:43
bool IsNull() const
Definition: ContainerProxies.h:251
bool IsChangedHere() const
Definition: ContainerProxies.h:318
void SetNull()
Definition: ContainerProxies.h:313
bool IsNull() const
Definition: ContainerProxies.h:312
void SetVal(const ContainedType &value)
Definition: ContainerProxies.h:257
ContainerProxy & operator++()
Definition: ContainerProxies.h:77
ContainerProxy & operator/=(const ContainedType &val)
Definition: ContainerProxies.h:124
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition: Defs.h:271
ContainerProxy & operator-=(const ContainedType &val)
Definition: ContainerProxies.h:112
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:75
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:292
BinaryContainer::ContainedType ContainedType
Definition: ContainerProxies.h:230
void SetChanged(const bool changed)
Definition: ContainerProxies.h:185
const ContainedType GetVal() const
Definition: ContainerProxies.h:70
ContainerProxy & operator+=(const ContainedType &val)
Definition: ContainerProxies.h:106
void SetNull()
Definition: ContainerProxies.h:183
U *const operator->() const
Definition: ContainerProxies.h:309
DotsC_Int32 Int32
32 bit integer type.
Definition: Defs.h:67
ObjectContainerImpl< U >::T_Ptr ContainedType
Definition: ContainerProxies.h:288
void SetChangedHere(const bool changed)
Definition: ContainerProxies.h:317
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:165
void SetVal(const ContainedType &value)
Definition: ContainerProxies.h:188
void SetPtr(const ObjectPtr &ptr)
Definition: ContainerProxies.h:369
void SetChanged(const bool changed)
Definition: ContainerProxies.h:65
const BinaryContainer & GetContainer() const
Definition: ContainerProxies.h:272
StringContainer & GetContainer()
Definition: ContainerProxies.h:214
void SetNull()
Definition: ContainerProxies.h:63
std::vector< char > Binary
A type to contain binary data.
Definition: Defs.h:294