FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDbObjectId.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19class AcDbDatabase;
20class AcDbHandle;
21class AcRxClass;
22class AcDbStub;
23
25{
26public:
28
29public:
30 bool isEffectivelyErased(void)const ;
31 bool isErased(void)const ;
32 bool isResident(void)const ;
33 bool isValid(void)const ;
34 bool objectLeftOnDisk(void)const ;
35 AcDbDatabase * database(void)const ;
37 AcDbHandle handle(void)const ;
39 AcRxClass * objectClass(void)const ;
41 bool operator != ( const AcDbStub*) const;
42 bool operator != ( const AcDbObjectId&) const;
43 bool operator == ( const AcDbObjectId& ) const;
44 bool operator == ( const AcDbStub* ) const;
46 void setNull();
47
48 bool isNull() const;
49#if !defined(_WIN64)
51 long asOldId() const;
52#else
53 AcDbObjectId& setFromOldId(__int64);
54 __int64 asOldId() const;
55#endif
59 operator AcDbStub*() const;
62 bool openErasedOne = false) const;
63
64protected:
66};
67
75
ARX_API bool operator!=(wchar_t, AcString const &)
ARX_API bool operator==(wchar_t, AcString const &)
#define ARX_API_STATIC
Definition FxARXAPI.h:25
AcDbHardOwnershipId(const AcDbObjectId &)
AcDbHardPointerId(const AcDbObjectId &)
bool isResident(void) const
AcDbStub * m_pStub
AcDbObjectId(AcDbObjectId const &)
AcDbHandle nonForwardedHandle(void) const
bool isErased(void) const
void convertToRedirectedId(void)
bool isNull() const
AcDbObjectId & setFromOldId(long)
AcRxClass * objectClass(void) const
AcDbHandle handle(void) const
AcDbObject * openObject(AcDb::OpenMode openMode=AcDb::kForRead, bool openErasedOne=false) const
bool objectLeftOnDisk(void) const
void setNull()
AcDbObjectId(AcDbStub *)
static ARX_API_STATIC const AcDbObjectId kNull
AcDbDatabase * database(void) const
long asOldId() const
bool isValid(void) const
AcDbDatabase * originalDatabase(void) const
bool isEffectivelyErased(void) const