Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InjectionOverrideProperty.h
Go to the documentation of this file.
1 #ifndef SAFIR_DOB_INJECTIONOVERRIDEPROPERTY_H_INCLUDED
2 #define SAFIR_DOB_INJECTIONOVERRIDEPROPERTY_H_INCLUDED
3 
4 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
5 
6 #ifdef dots_generated_Safir_cpp_EXPORTS
7 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_EXPORT
8 #else
9 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_IMPORT
10 # define SAFIR_LIBRARY_NAME "dots_generated-Safir-cpp"
11 # include <Safir/Utilities/Internal/AutoLink.h>
12 #endif
13 #define DOTS_GENERATED_Safir_API_LOCAL SAFIR_HELPER_DLL_LOCAL
14 
16 
18 
22 namespace Safir
23 {
27 namespace Dob
28 {
29 
36  {
37  public:
38  //HasProperty
39  static bool HasProperty(const Safir::Dob::Typesystem::ObjectPtr object);
40 
41  //Injection
46  static void SetOrdinalInjection(Safir::Dob::Typesystem::ObjectPtr object, const Safir::Dob::Typesystem::EnumerationValue value);
47  static void SetNullInjection(Safir::Dob::Typesystem::ObjectPtr object);
48  static bool IsNullInjection(const Safir::Dob::Typesystem::ObjectPtr object);
49  static bool IsChangedInjection(const Safir::Dob::Typesystem::ObjectPtr object);
50  static bool IsReadOnlyInjection(const Safir::Dob::Typesystem::ObjectPtr object);
55  static Safir::Dob::Typesystem::EnumerationValue GetOrdinalInjection(const Safir::Dob::Typesystem::ObjectPtr object);
56 
58  static const Safir::Dob::Typesystem::TypeId ClassTypeId = 7423724997645802149LL;
59 
60  };
61 } // Dob
62 } // Safir
63 
64 #endif
65 
Defines the Injection used for entities of this class.
Definition: InjectionOverrideProperty.h:35
Enumeration
Definition: InjectionKind.h:37
static const Safir::Dob::Typesystem::TypeId Checksum
Definition: InjectionKind.h:57
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:219
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition: Object.h:41
DOTS_CPP_API bool HasProperty(const Dob::Typesystem::TypeId classType, const Dob::Typesystem::TypeId propertyType)
Checks if the a class has a property.
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration.
Definition: Defs.h:271
#define DOTS_GENERATED_Safir_API
Definition: InjectionOverrideProperty.h:9