1 #ifndef SAFIR_DOB_DISTRIBUTIONSCOPE_H_INCLUDED
2 #define SAFIR_DOB_DISTRIBUTIONSCOPE_H_INCLUDED
9 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
11 #ifdef safir_generated_Core_cpp_EXPORTS
12 # define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_EXPORT
14 # define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_IMPORT
15 # define SAFIR_LIBRARY_NAME "safir_generated-Core-cpp"
16 # include <Safir/Utilities/Internal/AutoLink.h>
18 #define SAFIR_GENERATED_Core_API_LOCAL SAFIR_HELPER_DLL_LOCAL
45 static Enumeration First();
46 static Enumeration Last();
51 static std::wstring ToString(
const Enumeration enumVal);
52 static Enumeration ToValue(
const std::wstring & valueString);
68 if (value < FirstOrdinal() || value > LastOrdinal())
102 {CheckForMismatch();
return !IsNull() && m_Value == other;}
105 {
return !(*
this == other);}
113 {
return second == first;}
116 {
return !(first == second);}
bool operator==(const Enumeration other) const
Definition: DistributionScope.h:101
Thrown when an application attempts to get the value of a member that is null.
Definition: Exceptions.h:394
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:218
#define __WFILE__
Definition: Exceptions.h:31
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition: Backdoor.h:30
Base class for containers of enumeration values.
Definition: EnumerationContainerBase.h:50
Enumeration
Definition: DistributionScope.h:37
Container class for sequences of values.
Definition: SequenceContainer.h:49
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition: Defs.h:270
static bool operator!=(const CallbackId::Enumeration first, const CallbackId::EnumerationContainer second)
Definition: CallbackId.h:135
#define SAFIR_GENERATED_Core_API
Definition: DistributionScope.h:14
virtual Safir::Dob::Typesystem::EnumerationValue GetOrdinal() const
Get the ordinal value of the enumeration container.
Definition: DistributionScope.h:77
void SetVal(const Enumeration value)
Definition: DistributionScope.h:87
Definition: DistributionScope.h:61
DotsC_Int32 Int32
32 bit integer type.
Definition: Defs.h:66
Enumeration GetVal() const
Definition: DistributionScope.h:94
Safir::Dob::Typesystem::SequenceContainer< Enumeration > EnumerationSequenceContainer
Definition: DistributionScope.h:109
STL container for arrays of DOB-containers.
Definition: ArrayContainer.h:58
Enumeration ContainedType
Definition: DistributionScope.h:64
A parameter in the call was invalid.
Definition: Exceptions.h:254
Possible values for the DistributionScope property.
Definition: DistributionScope.h:35
Safir::Dob::Typesystem::ArrayContainer< EnumerationContainer > EnumerationContainerArray
Definition: DistributionScope.h:108
virtual void SetOrdinal(const Safir::Dob::Typesystem::EnumerationValue value)
Set the ordinal value of the enumeration container.
Definition: DistributionScope.h:66
static bool operator==(const CallbackId::Enumeration first, const CallbackId::EnumerationContainer second)
Definition: CallbackId.h:132