1 #ifndef SAFIR_UTILITIES_FOREACH_RESPONSETYPE_H_INCLUDED
2 #define SAFIR_UTILITIES_FOREACH_RESPONSETYPE_H_INCLUDED
10 #ifdef DOTS_GENERATED_CPP_EXPORTS
11 #define GENERATED_API __declspec(dllexport)
13 #define GENERATED_API __declspec(dllimport)
15 #pragma comment( lib, "dots_generated-Safir-cppd.lib" )
17 #pragma comment( lib, "dots_generated-Safir-cpp.lib" )
56 static Enumeration First();
57 static Enumeration Last();
62 static std::wstring ToString(
const Enumeration enumVal);
63 static Enumeration ToValue(
const std::wstring & valueString);
79 if (value < FirstOrdinal() || value > LastOrdinal())
113 {CheckForMismatch();
return !IsNull() && m_Value == other;}
116 {
return !(*
this == other);}
123 {
return second == first;}
126 {
return !(first == second);}
virtual void SetOrdinal(const Safir::Dob::Typesystem::EnumerationValue value)
Set the ordinal value of the enumeration container.
Definition: ResponseType.h:77
Definition: ResponseType.h:72
void SetVal(const Enumeration value)
Definition: ResponseType.h:98
Definition: ResponseType.h:50
static bool operator!=(const ResponseType::Enumeration first, const ResponseType::EnumerationContainer second)
Definition: ResponseType.h:125
virtual Safir::Dob::Typesystem::EnumerationValue GetOrdinal() const
Get the ordinal value of the enumeration container.
Definition: ResponseType.h:88
DotsC_TypeId TypeId
A unique type identifier.
Definition: Dob/Typesystem/Defs.h:221
Enumeration
Definition: ResponseType.h:47
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
Enumeration ContainedType
Definition: ResponseType.h:75
This enumeration has no summary.
Definition: ResponseType.h:45
Enumeration GetVal() const
Definition: ResponseType.h:105
Thrown when an application attempts to get the value of a member that is null.
Definition: Exceptions.h:394
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition: Dob/Typesystem/Defs.h:273
Safir::Dob::Typesystem::ArrayContainer< EnumerationContainer > EnumerationContainerArray
Definition: ResponseType.h:119
STL container for arrays of DOB-containers.
Definition: ArrayContainer.h:58
DotsC_Int32 Int32
32 bit integer type.
Definition: Dob/Typesystem/Defs.h:69
static bool operator==(const ResponseType::Enumeration first, const ResponseType::EnumerationContainer second)
Definition: ResponseType.h:122
bool operator==(const Enumeration other) const
Definition: ResponseType.h:112