25#ifndef __DOTS_ENUMERATION_CONTAINER_BASE_H__
26#define __DOTS_ENUMERATION_CONTAINER_BASE_H__
96 if (
typeid(*
this) !=
typeid(that))
#define __WFILE__
Definition Exceptions.h:31
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition Defs.h:270
Base class for all Containers.
Definition ContainerBase.h:44
bool m_bIsChanged
The variable containing the change flag.
Definition ContainerBase.h:127
Base class for containers of enumeration values.
Definition EnumerationContainerBase.h:51
void SetNull() override
Set the container to null.
Definition EnumerationContainerBase.h:85
void Copy(const ContainerBase &that) override
Virtual assignment.
Definition EnumerationContainerBase.h:92
constexpr EnumerationContainerBase(const EnumerationContainerBase &other)=default
Copy constructor.
bool IsNull() const override
Is the container set to null?
Definition EnumerationContainerBase.h:82
virtual void SetOrdinal(const EnumerationValue value)=0
Set the ordinal value of the enumeration container.
friend class Safir::Dob::Typesystem::Internal::BlobOperations
Definition EnumerationContainerBase.h:131
constexpr EnumerationContainerBase()
Default Constructor.
Definition EnumerationContainerBase.h:57
EnumerationContainerBase & operator=(const EnumerationContainerBase &other)=default
Copy assignment operator.
bool m_bIsNull
The null flag for the enumeration container.
Definition EnumerationContainerBase.h:123
EnumerationValue m_Value
The value of the enumeration container.
Definition EnumerationContainerBase.h:129
virtual EnumerationValue GetOrdinal() const =0
Get the ordinal value of the enumeration container.
Meant to be used when something goes very wrong.
Definition Exceptions.h:364