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);}
68 void SetVal(
const ContainedType value) {m_container.SetVal(value);}
70 const ContainedType
GetVal()
const {
return m_container.GetVal();}
79 ContainedType val =
GetVal();
93 ContainedType val =
GetVal();
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());
180 operator const ContainedType& ()
const {
return m_container.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);}
188 void SetVal(
const ContainedType& value) {m_container.SetVal(value);}
190 const ContainedType&
GetVal()
const {
return m_container.GetVal();}
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());
249 operator const ContainedType& ()
const {
return m_container.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);}
257 void SetVal(
const ContainedType& value) {m_container.SetVal(value);}
259 const ContainedType&
GetVal()
const {
return m_container.GetVal();}
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);}
320 void SetPtr(
const ContainedType& ptr) {m_container.SetPtr(ptr);}
323 const ContainedType&
GetPtr()
const {
return m_container.GetPtr();}
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);}
371 const ContainedType&
GetPtr()
const {
return m_container.GetPtr();}
bool IsChanged() const
Definition: ContainerProxies.h:253
Class containing the identity of a channel.
Definition: ChannelId.h:45
Class containing the identity of an entity.
Definition: EntityId.h:42
const ContainedType & GetPtr() const
Definition: ContainerProxies.h:323
bool IsNull() const
Definition: ContainerProxies.h:361
T & GetContainer()
Definition: ContainerProxies.h:131
ContainerProxy(StringContainer &container)
Definition: ContainerProxies.h:163
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition: Backdoor.h:30
Class containing the identity of an instance.
Definition: InstanceId.h:48
void SetChanged(const bool changed)
Definition: ContainerProxies.h:254
Definition: ContainerProxies.h:227
void SetNull()
Definition: ContainerProxies.h:63
Class containing the identity of a handler.
Definition: HandlerId.h:45
Container for strings (std::wstring).
Definition: ValueContainers.h:126
void SetChangedHere(const bool changed)
Definition: ContainerProxies.h:317
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:324
ContainerProxy(ObjectContainerImpl< U > &container)
Definition: ContainerProxies.h:290
bool IsNull() const
Definition: ContainerProxies.h:62
const ObjectContainerImpl< U > & GetContainer() const
Definition: ContainerProxies.h:326
Template class for all containers of automatically generated DOB objects.
Definition: ObjectContainer.h:185
ContainerProxy & operator/=(const ContainedType &val)
Definition: ContainerProxies.h:124
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition: Defs.h:270
static bool operator!=(const ContainerProxy< ChannelIdContainer > &first, const ChannelId &second)
Definition: ContainerProxies.h:138
const ContainedType & GetVal() const
Definition: ContainerProxies.h:190
T::ContainedType ContainedType
Definition: ContainerProxies.h:41
void SetChanged(const bool changed)
Definition: ContainerProxies.h:315
ObjectContainerImpl< Object > & GetContainer()
Definition: ContainerProxies.h:376
const T & GetContainer() const
Definition: ContainerProxies.h:130
ContainerProxy & operator=(const ContainedType other)
Definition: ContainerProxies.h:58
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition: Object.h:41
const std::string & Utf8String() const
Definition: ContainerProxies.h:193
bool IsChanged() const
Definition: ContainerProxies.h:64
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:45
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:260
ContainerProxy & operator--()
Definition: ContainerProxies.h:91
const BinaryContainer & GetContainer() const
Definition: ContainerProxies.h:272
void SetPtr(const ObjectPtr &ptr)
Definition: ContainerProxies.h:369
ObjectContainerImpl< U > & GetContainer()
Definition: ContainerProxies.h:327
void SetNull()
Definition: ContainerProxies.h:183
ObjectContainerImpl< Object >::T_Ptr ContainedType
Definition: ContainerProxies.h:337
const ContainedType & GetVal() const
Definition: ContainerProxies.h:259
const ContainedType & GetPtr() const
Definition: ContainerProxies.h:371
ContainerProxy & operator-=(const ContainedType &val)
Definition: ContainerProxies.h:112
void SetVal(const ContainedType &value)
Definition: ContainerProxies.h:188
std::vector< char > Binary
A type to contain binary data.
Definition: Defs.h:299
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:165
void SetNull()
Definition: ContainerProxies.h:313
StringContainer & GetContainer()
Definition: ContainerProxies.h:214
ContainerProxy & operator*=(const ContainedType &val)
Definition: ContainerProxies.h:118
void SetPtr(const ContainedType &ptr)
Definition: ContainerProxies.h:320
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:373
bool IsChangedHere() const
Definition: ContainerProxies.h:318
const ContainedType GetVal() const
Definition: ContainerProxies.h:70
void SetChangedHere(const bool changed)
Definition: ContainerProxies.h:366
Definition: ContainerProxies.h:158
std::wstring ContainedType
Definition: ValueContainers.h:129
Binary ContainedType
Definition: ValueContainers.h:259
This is a specialization of the ObjectContainerImpl template for the case where the template argument...
Definition: ObjectContainer.h:381
ContainerProxy & operator++()
Definition: ContainerProxies.h:77
ContainerProxy(T &container)
Definition: ContainerProxies.h:43
EnumerationValue GetOrdinal() const
Definition: ContainerProxies.h:73
void SetPtr(const ObjectPtr &ptr)
Definition: ContainerProxies.h:321
The base class for all DOB objects.
Definition: Object.h:54
Object *const operator->() const
Definition: ContainerProxies.h:358
DotsC_Int32 Int32
32 bit integer type.
Definition: Defs.h:66
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:247
U *const operator->() const
Definition: ContainerProxies.h:309
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:292
static bool operator==(const ContainerProxy< ChannelIdContainer > &first, const ChannelId &second)
Definition: ContainerProxies.h:136
BinaryContainer::ContainedType ContainedType
Definition: ContainerProxies.h:230
ContainerProxy & operator+=(const ContainedType &val)
Definition: ContainerProxies.h:106
ObjectContainerImpl< U >::T_Ptr ContainedType
Definition: ContainerProxies.h:288
void SetOrdinal(const EnumerationValue value)
Definition: ContainerProxies.h:72
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:75
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:354
void Copy(const ContainerProxy &that)
Definition: ContainerProxies.h:195
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:341
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:305
bool IsChangedHere() const
Definition: ContainerProxies.h:367
Int32 Utf8StringLength() const
Definition: ContainerProxies.h:192
StringContainer::ContainedType ContainedType
Definition: ContainerProxies.h:161
void SetChanged(const bool changed)
Definition: ContainerProxies.h:185
void SetChanged(const bool changed)
Definition: ContainerProxies.h:364
Container for Binary.
Definition: ValueContainers.h:256
ContainerProxy & operator=(const ContainerProxy &other)
Definition: ContainerProxies.h:234
ContainerProxy(BinaryContainer &container)
Definition: ContainerProxies.h:232
void SetVal(const ContainedType &value)
Definition: ContainerProxies.h:257
void SetVal(const ContainedType value)
Definition: ContainerProxies.h:68
bool IsChanged() const
Definition: ContainerProxies.h:184
boost::shared_ptr< T > T_Ptr
Typedef for the contained smart pointer.
Definition: ObjectContainer.h:189
void SetNull()
Definition: ContainerProxies.h:252
BinaryContainer & GetContainer()
Definition: ContainerProxies.h:273
const ObjectContainerImpl< Object > & GetContainer() const
Definition: ContainerProxies.h:375
bool IsNull() const
Definition: ContainerProxies.h:251
bool IsChanged() const
Definition: ContainerProxies.h:363
bool IsChanged() const
Definition: ContainerProxies.h:314
bool IsNull() const
Definition: ContainerProxies.h:312
const StringContainer & GetContainer() const
Definition: ContainerProxies.h:213
void SetChanged(const bool changed)
Definition: ContainerProxies.h:65
ContainerProxy(ObjectContainerImpl< Object > &container)
Definition: ContainerProxies.h:339
Definition: ContainerProxies.h:38
ContainerProxy & operator=(const ContainedType &other)
Definition: ContainerProxies.h:178
void SetNull()
Definition: ContainerProxies.h:362
bool IsNull() const
Definition: ContainerProxies.h:182