Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ContextSharedOverrideProperty.h
Go to the documentation of this file.
1 #ifndef SAFIR_DOB_CONTEXTSHAREDOVERRIDEPROPERTY_H_INCLUDED
2 #define SAFIR_DOB_CONTEXTSHAREDOVERRIDEPROPERTY_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 
17 
21 namespace Safir
22 {
26 namespace Dob
27 {
28 
35  {
36  public:
37  //HasProperty
38  static bool HasProperty(const Safir::Dob::Typesystem::ObjectPtr object);
39 
40  //ContextShared
44  static void SetContextShared(Safir::Dob::Typesystem::ObjectPtr object, const bool value);
45  static void SetNullContextShared(Safir::Dob::Typesystem::ObjectPtr object);
46  static bool IsNullContextShared(const Safir::Dob::Typesystem::ObjectPtr object);
47  static bool IsChangedContextShared(const Safir::Dob::Typesystem::ObjectPtr object);
48  static bool IsReadOnlyContextShared(const Safir::Dob::Typesystem::ObjectPtr object);
52  static bool GetContextShared(const Safir::Dob::Typesystem::ObjectPtr object);
53 
55  static const Safir::Dob::Typesystem::TypeId ClassTypeId = -1788815086694455561LL;
56 
57  };
58 } // Dob
59 } // Safir
60 
61 #endif
62 
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
Used to determine if a class should be visible in all contexts.
Definition: ContextSharedOverrideProperty.h:34
#define DOTS_GENERATED_Safir_API
Definition: ContextSharedOverrideProperty.h:9
DOTS_CPP_API bool HasProperty(const Dob::Typesystem::TypeId classType, const Dob::Typesystem::TypeId propertyType)
Checks if the a class has a property.