1 #ifndef SAFIR_DOB_CALLBACKID_H_INCLUDED
2 #define SAFIR_DOB_CALLBACKID_H_INCLUDED
9 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
11 #ifdef dots_generated_Safir_cpp_EXPORTS
12 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_EXPORT
14 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_IMPORT
15 # define SAFIR_LIBRARY_NAME "dots_generated-Safir-cpp"
16 # include <Safir/Utilities/Internal/AutoLink.h>
18 #define DOTS_GENERATED_Safir_API_LOCAL SAFIR_HELPER_DLL_LOCAL
39 OnRevokedRegistration = 0,
65 static Enumeration First();
66 static Enumeration Last();
71 static std::wstring ToString(
const Enumeration enumVal);
72 static Enumeration ToValue(
const std::wstring & valueString);
88 if (value < FirstOrdinal() || value > LastOrdinal())
122 {CheckForMismatch();
return !IsNull() && m_Value == other;}
125 {
return !(*
this == other);}
132 {
return second == first;}
135 {
return !(first == second);}
Definition: CallbackId.h:47
Definition: CallbackId.h:58
Enumeration ContainedType
Definition: CallbackId.h:84
Definition: CallbackId.h:43
Definition: CallbackId.h:48
Definition: CallbackId.h:40
Definition: CallbackId.h:56
Definition: CallbackId.h:52
Definition: CallbackId.h:54
Definition: CallbackId.h:44
virtual void SetOrdinal(const Safir::Dob::Typesystem::EnumerationValue value)
Set the ordinal value of the enumeration container.
Definition: CallbackId.h:86
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:219
Definition: CallbackId.h:51
Definition: CallbackId.h:53
static bool operator==(const CallbackId::Enumeration first, const CallbackId::EnumerationContainer second)
Definition: CallbackId.h:131
#define DOTS_GENERATED_Safir_API
Definition: CallbackId.h:14
Definition: CallbackId.h:55
Definition: CallbackId.h:57
Ids for all callback routines for all Dob consumers.
Definition: CallbackId.h:35
Base class for containers of enumeration values.
Definition: EnumerationContainerBase.h:50
#define __WFILE__
Definition: Exceptions.h:31
Definition: CallbackId.h:42
Definition: CallbackId.h:50
A parameter in the call was invalid.
Definition: Exceptions.h:254
Definition: CallbackId.h:81
Definition: CallbackId.h:41
bool operator==(const Enumeration other) const
Definition: CallbackId.h:121
Enumeration
Definition: CallbackId.h:37
Definition: CallbackId.h:59
Definition: CallbackId.h:45
Thrown when an application attempts to get the value of a member that is null.
Definition: Exceptions.h:394
Enumeration GetVal() const
Definition: CallbackId.h:114
void SetVal(const Enumeration value)
Definition: CallbackId.h:107
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition: Defs.h:271
Definition: CallbackId.h:49
virtual Safir::Dob::Typesystem::EnumerationValue GetOrdinal() const
Get the ordinal value of the enumeration container.
Definition: CallbackId.h:97
STL container for arrays of DOB-containers.
Definition: ArrayContainer.h:58
DotsC_Int32 Int32
32 bit integer type.
Definition: Defs.h:67
static bool operator!=(const CallbackId::Enumeration first, const CallbackId::EnumerationContainer second)
Definition: CallbackId.h:134
Definition: CallbackId.h:46
Safir::Dob::Typesystem::ArrayContainer< EnumerationContainer > EnumerationContainerArray
Definition: CallbackId.h:128