Safir SDK Core
Loading...
Searching...
No Matches
ContextSharedProperty.h
Go to the documentation of this file.
1#pragma once
2
3#include <Safir/Utilities/Internal/VisibilityHelpers.h>
4
5#ifdef safir_generated_Core_cpp_EXPORTS
6# define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_EXPORT
7#else
8# define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_IMPORT
9# define SAFIR_LIBRARY_NAME "safir_generated-Core-cpp"
10# include <Safir/Utilities/Internal/AutoLink.h>
11#endif
12#define SAFIR_GENERATED_Core_API_LOCAL SAFIR_HELPER_DLL_LOCAL
13
15
16
20namespace Safir
21{
25namespace Dob
26{
27
33 {
34 public:
35 //HasProperty
37 //ContextShared
41 static void SetContextShared(Safir::Dob::Typesystem::ObjectPtr object, const bool value);
50
52 static const Safir::Dob::Typesystem::TypeId ClassTypeId = 791642390145278957LL;
53
54 };
55} // Dob
56} // Safir
57
58
#define SAFIR_GENERATED_Core_API
Definition BackdoorCommand.h:18
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
std::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition Object.h:44
DotsC_TypeId TypeId
A unique type identifier.
Definition Defs.h:218
Used to determine if a class should be visible in all contexts.
Definition ContextSharedProperty.h:33
static void SetNullContextShared(Safir::Dob::Typesystem::ObjectPtr object)
static bool GetContextShared(const Safir::Dob::Typesystem::ObjectPtr object)
Defines if this class should be visible in all contexts.
static bool IsReadOnlyContextShared(const Safir::Dob::Typesystem::ObjectPtr object)
static bool IsNullContextShared(const Safir::Dob::Typesystem::ObjectPtr object)
static bool HasProperty(const Safir::Dob::Typesystem::ObjectPtr object)
static void SetContextShared(Safir::Dob::Typesystem::ObjectPtr object, const bool value)
Defines if this class should be visible in all contexts.
static bool IsChangedContextShared(const Safir::Dob::Typesystem::ObjectPtr object)