CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECDbObject.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a
16// license agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef __AECDBOBJECT_H__
25#define __AECDBOBJECT_H__
26
27#include "AECBase.h"
28#include "DbObject.h"
31
40class AECBASE_API AECDbObject : public OdDbObject
41{
43
44 public:
48 virtual void subClose();
49
53 virtual OdResult dwgInFields( OdDbDwgFiler* pFiler );
54
58 virtual void dwgOutFields( OdDbDwgFiler* pFiler ) const;
59
63 virtual void dxfOut( OdDbDxfFiler* pFiler ) const;
64
65 virtual void audit( OdDbAuditInfo* pAuditInfo );
66
67 public:
71 const OdString& GetDescription() const;
72
76 void SetDescription( const OdString& strDescription );
77
82
90
95
100
112 OdDbObjectId OverrideDispProps( const OdDbObjectId& idDispRep, bool bCopyContents = true );
113
120 void RemoveDispProps( const OdDbObjectId& idDispRep );
121
122 //virtual OdDbObjectPtr decomposeForSave(OdDb::DwgVersion ver, OdDbObjectId& replaceId, bool& exchangeXData);
123
124 protected:
125 // Stores the class implementation object, which actually holds all the
126 // object-specific information. The AECDb* classes that inherit from this class provide
127 // the necessary data access functions through this implementation class instance.
129
130 // Pointer to an array of overrides.
131 // Entity styles may have have display properties overrides present.
132 // The external application may access this array with
133 // GetOverrideCount and GetOverrideByIndex methods.
135
136 friend class AECInternalTools;
137};
138
140
141#endif //__AECDBOBJECT_H__
OdSmartPtr< AECDbObject > AECDbObjectPtr
Definition: AECDbObject.h:139
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbObjectId OverrideDispProps(const OdDbObjectId &idDispRep, bool bCopyContents=true)
AECImpArraySubPtr GetOverrides()
void SetDescription(const OdString &strDescription)
OdUInt32 GetOverrideCount() const
const OdString & GetDescription() const
AECImpArrayPtr m_pOverrides
Definition: AECDbObject.h:134
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void dxfOut(OdDbDxfFiler *pFiler) const
virtual void subClose()
void RemoveDispProps(const OdDbObjectId &idDispRep)
AECImpObjPtr m_pImpObject
Definition: AECDbObject.h:128
virtual void audit(OdDbAuditInfo *pAuditInfo)
AECOverrideSubPtr GetOverrideByIndex(OdUInt32 iIndex) const
OdDbObjectId GetCurrentDispProps(const OdDbObjectId &idDispRep)