OpenLexocad
27.1
Object_Hnd.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
namespace
Core
6
{
7
class
DocObject;
8
class
LX_CORE_EXPORT
Object_Hnd
9
{
10
public
:
11
Object_Hnd
();
12
Object_Hnd
(
Core::DocObject
* o,
const
std::string& internalName =
""
);
13
14
enum
Status
15
{
16
Valid
,
17
Unresolved
18
};
19
20
Core::DocObject
* getObject()
const
;
21
std::string getId()
const
;
22
Status
getStatus()
const
;
23
void
ref();
24
void
unref();
25
26
std::string
name
;
27
28
bool
operator==(
const
Object_Hnd
& rhs)
const
;
29
30
private
:
31
Core::DocObject
* _object;
32
int
_id;
33
Status
_status;
34
};
35
}
// namespace Core
Core::Object_Hnd::Valid
Definition:
Object_Hnd.h:16
Core
Definition:
Base.h:12
Core::Object_Hnd::name
std::string name
Definition:
Object_Hnd.h:26
Core::Object_Hnd::Status
Status
Definition:
Object_Hnd.h:14
Core::Object_Hnd
Definition:
Object_Hnd.h:8
Status
Status
Definition:
CoreDocument.h:152
Core::DocObject
Definition:
DocObject.h:51
lexocad
Core
include
Core
Object_Hnd.h
Generated by
1.8.15