Safir SDK Core
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ContextSharedProperty.h
Go to the documentation of this file.
1
#ifndef SAFIR_DOB_CONTEXTSHAREDPROPERTY_H_INCLUDED
2
#define SAFIR_DOB_CONTEXTSHAREDPROPERTY_H_INCLUDED
3
4
#ifdef _MSC_VER
5
#ifdef DOTS_GENERATED_CPP_EXPORTS
6
#define GENERATED_API __declspec(dllexport)
7
#else
8
#define GENERATED_API __declspec(dllimport)
9
#ifdef _DEBUG
10
11
#pragma comment( lib, "dots_generated-Safir-cppd.lib" )
12
#else
13
#pragma comment( lib, "dots_generated-Safir-cpp.lib" )
14
15
#endif
16
#endif
17
#endif
18
#ifdef __GNUC__
19
#define GENERATED_API
20
#endif
21
22
#include <
Safir/Dob/Typesystem/Object.h
>
23
24
28
namespace
Safir
29
{
33
namespace
Dob
34
{
35
39
class
GENERATED_API
ContextSharedProperty
40
{
41
public
:
42
//HasProperty
43
static
bool
HasProperty
(
const
Safir::Dob::Typesystem::ObjectPtr
object
);
44
45
//ContextShared
49
static
void
SetContextShared(
Safir::Dob::Typesystem::ObjectPtr
object
,
const
bool
value);
50
static
void
SetNullContextShared(
Safir::Dob::Typesystem::ObjectPtr
object
);
51
static
bool
IsNullContextShared(
const
Safir::Dob::Typesystem::ObjectPtr
object
);
52
static
bool
IsChangedContextShared(
const
Safir::Dob::Typesystem::ObjectPtr
object
);
53
static
bool
IsReadOnlyContextShared(
const
Safir::Dob::Typesystem::ObjectPtr
object
);
57
static
bool
GetContextShared(
const
Safir::Dob::Typesystem::ObjectPtr
object
);
58
60
static
const
Safir::Dob::Typesystem::TypeId
ClassTypeId = 791642390145278957LL;
61
62
};
63
}
// Dob
64
}
// Safir
65
66
#endif
67
Safir::Dob::Typesystem::TypeId
DotsC_TypeId TypeId
A unique type identifier.
Definition:
Dob/Typesystem/Defs.h:221
Safir::Dob::ContextSharedProperty
Used to determine if a class should be visible in all contexts.
Definition:
ContextSharedProperty.h:39
Safir::Dob::Typesystem::ObjectPtr
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition:
Object.h:41
Object.h
Safir::Dob::Typesystem::Operations::HasProperty
DOTS_API bool HasProperty(const Dob::Typesystem::TypeId classType, const Dob::Typesystem::TypeId propertyType)
Checks if the a class has a property.
safir
sdk
include
Safir
Dob
ContextSharedProperty.h
Generated on Wed Oct 23 2013 10:35:54 for Safir SDK Core by
1.8.5