1 #ifndef SAFIR_DOB_NODESTATUS_H_INCLUDED
2 #define SAFIR_DOB_NODESTATUS_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
47 static Enumeration First();
48 static Enumeration Last();
53 static std::wstring ToString(
const Enumeration enumVal);
54 static Enumeration ToValue(
const std::wstring & valueString);
70 if (value < FirstOrdinal() || value > LastOrdinal())
104 {CheckForMismatch();
return !IsNull() && m_Value == other;}
107 {
return !(*
this == other);}
114 {
return second == first;}
117 {
return !(first == second);}
Definition: NodeStatus.h:41
Definition: NodeStatus.h:63
#define DOTS_GENERATED_Safir_API
Definition: NodeStatus.h:14
Definition: NodeStatus.h:40
Enumerates the status provided for a node in the entity Safir.Dob.NodeInfo.
Definition: NodeStatus.h:35
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:219
static bool operator==(const CallbackId::Enumeration first, const CallbackId::EnumerationContainer second)
Definition: CallbackId.h:131
virtual Safir::Dob::Typesystem::EnumerationValue GetOrdinal() const
Get the ordinal value of the enumeration container.
Definition: NodeStatus.h:79
Enumeration
Definition: NodeStatus.h:37
Base class for containers of enumeration values.
Definition: EnumerationContainerBase.h:50
#define __WFILE__
Definition: Exceptions.h:31
A parameter in the call was invalid.
Definition: Exceptions.h:254
Safir::Dob::Typesystem::ArrayContainer< EnumerationContainer > EnumerationContainerArray
Definition: NodeStatus.h:110
void SetVal(const Enumeration value)
Definition: NodeStatus.h:89
Thrown when an application attempts to get the value of a member that is null.
Definition: Exceptions.h:394
Enumeration ContainedType
Definition: NodeStatus.h:66
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition: Defs.h:271
virtual void SetOrdinal(const Safir::Dob::Typesystem::EnumerationValue value)
Set the ordinal value of the enumeration container.
Definition: NodeStatus.h:68
bool operator==(const Enumeration other) const
Definition: NodeStatus.h:103
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
Enumeration GetVal() const
Definition: NodeStatus.h:96