FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDbCompoundObjectId.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
20class AcDbObjectId;
21class AcDbDatabase;
22
23class AcRxObject;
24
26{
27public:
29
32 virtual ~AcDbCompoundObjectId(void);
35
38
41
44 Acad::ErrorStatus getFullPath(AcDbObjectIdArray&) const;
45 Acad::ErrorStatus getPath(AcDbObjectIdArray&) const;
46 void setEmpty();
47 Acad::ErrorStatus set(const AcDbObjectId&, AcDbDatabase* = NULL);
48 Acad::ErrorStatus set(const AcDbCompoundObjectId&, AcDbDatabase* = NULL);
49 Acad::ErrorStatus set(const AcDbObjectId&, const AcDbObjectIdArray&, AcDbDatabase* = NULL);
50 Acad::ErrorStatus setFullPath(const AcDbObjectIdArray& , AcDbDatabase* = NULL);
51 bool isEmpty() const;
52 bool isValid(int = 1) const;
53 bool isExternal() const;
54 bool isSimpleObjectId() const;
55 Acad::ErrorStatus getTransform(AcGeMatrix3d&) const;
56 bool remap(const AcDbIdMapping&);
57 Acad::ErrorStatus dwgOutFields(AcDbDwgFiler*, AcDbDatabase* ) const;
58 Acad::ErrorStatus dwgInFields(AcDbDwgFiler*, int );
59 Acad::ErrorStatus dxfOutFields(AcDbDxfFiler*, AcDbDatabase* ) const;
60 Acad::ErrorStatus dxfInFields(AcDbDxfFiler*, AcDbDatabase*, int);
62
63private:
64 static const AcDbCompoundObjectId* m_NullId;
65};
ARX_API bool operator!=(wchar_t, AcString const &)
ARX_API bool operator==(wchar_t, AcString const &)
Acad::ErrorStatus dxfOutFields(AcDbDxfFiler *, AcDbDatabase *) const
Acad::ErrorStatus getFullPath(AcDbObjectIdArray &) const
bool remap(const AcDbIdMapping &)
Acad::ErrorStatus set(const AcDbCompoundObjectId &, AcDbDatabase *=NULL)
virtual ~AcDbCompoundObjectId(void)
Acad::ErrorStatus set(const AcDbObjectId &, AcDbDatabase *=NULL)
Acad::ErrorStatus dwgOutFields(AcDbDwgFiler *, AcDbDatabase *) const
ACRX_DECLARE_MEMBERS(AcDbCompoundObjectId)
static const AcDbCompoundObjectId & nullId()
Acad::ErrorStatus set(const AcDbObjectId &, const AcDbObjectIdArray &, AcDbDatabase *=NULL)
Acad::ErrorStatus getTransform(AcGeMatrix3d &) const
Acad::ErrorStatus dwgInFields(AcDbDwgFiler *, int)
AcDbCompoundObjectId(const AcDbObjectId &, const AcDbObjectIdArray &, AcDbDatabase *=NULL)
Acad::ErrorStatus getPath(AcDbObjectIdArray &) const
bool isEmpty() const
bool isSimpleObjectId() const
AcDbObjectId topId() const
Acad::ErrorStatus setFullPath(const AcDbObjectIdArray &, AcDbDatabase *=NULL)
bool isExternal() const
Acad::ErrorStatus dxfInFields(AcDbDxfFiler *, AcDbDatabase *, int)
bool isValid(int=1) const
AcDbCompoundObjectId(const AcDbCompoundObjectId &)
AcDbCompoundObjectId(AcDbObjectId const &, AcDbDatabase *=NULL)
AcDbObjectId leafId() const