Safir SDK Core
|
#include <Safir/Dob/CallbackId.h>
Public Types | |
typedef Enumeration | ContainedType |
Public Member Functions | |
virtual void | SetOrdinal (const Safir::Dob::Typesystem::EnumerationValue value) |
Set the ordinal value of the enumeration container. More... | |
virtual Safir::Dob::Typesystem::EnumerationValue | GetOrdinal () const |
Get the ordinal value of the enumeration container. More... | |
void | SetVal (const Enumeration value) |
Enumeration | GetVal () const |
bool | operator== (const Enumeration other) const |
bool | operator!= (const Enumeration other) const |
Public Member Functions inherited from Safir::Dob::Typesystem::EnumerationContainerBase | |
EnumerationContainerBase () | |
Default Constructor. More... | |
virtual bool | IsNull () const |
Is the container set to null? More... | |
virtual void | SetNull () |
Set the container to null. More... | |
virtual void | Copy (const ContainerBase &that) |
Virtual assignment. More... | |
Public Member Functions inherited from Safir::Dob::Typesystem::ContainerBase | |
ContainerBase () | |
Default Constructor. More... | |
virtual | ~ContainerBase () |
Virtual destructor. More... | |
virtual bool | IsChanged () const |
Is the change flag set on the container? The change flag gets updated every time the contained value changes. More... | |
virtual void | SetChanged (const bool changed) |
Set the containers change flag. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Safir::Dob::Typesystem::EnumerationContainerBase | |
EnumerationContainerBase & | operator= (const EnumerationContainerBase &other) |
Copy assignment operator. More... | |
Protected Member Functions inherited from Safir::Dob::Typesystem::ContainerBase | |
ContainerBase & | operator= (const ContainerBase &other) |
Copy assignment operator. More... | |
Protected Attributes inherited from Safir::Dob::Typesystem::EnumerationContainerBase | |
bool | m_bIsNull |
The null flag for the enumeration container. More... | |
EnumerationValue | m_Value |
The value of the enumeration container. More... | |
Protected Attributes inherited from Safir::Dob::Typesystem::ContainerBase | |
bool | m_bIsChanged |
The variable containing the change flag. More... | |
|
virtual |
Get the ordinal value of the enumeration container.
Note: Only applications that need to use "anonymous enums" should use this method. All other applications should be using the GetVal method.
NullException | The container is null. |
Implements Safir::Dob::Typesystem::EnumerationContainerBase.
References __WFILE__.
Enumeration Safir::Dob::CallbackId::EnumerationContainer::GetVal | ( | ) | const |
bool Safir::Dob::CallbackId::EnumerationContainer::operator!= | ( | const Enumeration | other | ) | const |
bool Safir::Dob::CallbackId::EnumerationContainer::operator== | ( | const Enumeration | other | ) | const |
|
virtual |
Set the ordinal value of the enumeration container.
Note: Only applications that need to use "anonymous enums" should use this method. All other applications should be using the SetVal method.
value | [in] - The new value. |
IllegalValueException | The value is not in the range of the enumeration. |
Implements Safir::Dob::Typesystem::EnumerationContainerBase.
References __WFILE__.
void Safir::Dob::CallbackId::EnumerationContainer::SetVal | ( | const Enumeration | value | ) |