CFx SDK Documentation  2020SP3
DbDgnLSPE.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 _OD_DB_DGNLS_PE_
25 #define _OD_DB_DGNLS_PE_
26 
27 #include "DbLinetypeTableRecord.h"
28 
31 
41 {
42  public:
44 
46  {
47  kDgnLSProcessed = 1
48  };
49 
57  virtual bool hasDgnLSData(const OdDbLinetypeTableRecord *pLTR) const = 0;
58 
68  virtual OdUInt32 setupDgnLSData(const OdDbLinetypeTableRecord *pLTR, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const = 0;
69 
78  virtual OdUInt32 prepareDgnLSCache(const OdDbLinetypeTableRecord *pLTR, OdRxObjectPtr &pCache) const = 0;
79 
89  virtual OdUInt32 setupDgnLSCache(const OdRxObject *pCache, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const = 0;
90 };
91 
96 
106 {
107  public:
109 
117  virtual bool hasDgnLSModifiersXData(const OdDbEntity *pEntity) const = 0;
118 
128  virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiDgLinetypeModifiers &pModifiers, double *pScale = NULL) const = 0;
129 
138  virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiSubEntityTraits *pTraits) const = 0;
139 
149  virtual bool writeDgnLSModifiersXData(OdDbEntity *pEntity, const OdGiDgLinetypeModifiers &pModifiers, const double *pScale = NULL) const = 0;
150 
158  virtual bool removeDgnLSModifiersXData(OdDbEntity *pEntity) const = 0;
159 };
160 
165 
166 #endif //_OD_DB_DGNLS_PE_
OdDbDgnLSPEPtr
OdSmartPtr< OdDbDgnLSPE > OdDbDgnLSPEPtr
Definition: DbDgnLSPE.h:95
NULL
#define NULL
Definition: GsProperties.h:177
OdRxObjectPtr
Definition: RxObject.h:345
OdDbDgnLSModifiersPE::readDgnLSModifiersXData
virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiDgLinetypeModifiers &pModifiers, double *pScale=NULL) const =0
OdDbDgnLSModifiersPE
Definition: DbDgnLSPE.h:106
OdDbDgnLSModifiersPE::writeDgnLSModifiersXData
virtual bool writeDgnLSModifiersXData(OdDbEntity *pEntity, const OdGiDgLinetypeModifiers &pModifiers, const double *pScale=NULL) const =0
OdRxObject
Definition: RxObject.h:564
OdDbDgnLSPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbDgnLSPE)
OdDbDgnLSPE::setupDgnLSCache
virtual OdUInt32 setupDgnLSCache(const OdRxObject *pCache, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const =0
OdDbDgnLSPE::hasDgnLSData
virtual bool hasDgnLSData(const OdDbLinetypeTableRecord *pLTR) const =0
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbDgnLSPE
Definition: DbDgnLSPE.h:41
OdDbDgnLSPE::prepareDgnLSCache
virtual OdUInt32 prepareDgnLSCache(const OdDbLinetypeTableRecord *pLTR, OdRxObjectPtr &pCache) const =0
OdDbDgnLSModifiersPE::readDgnLSModifiersXData
virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiSubEntityTraits *pTraits) const =0
OdSmartPtr
Definition: SmartPtr.h:58
OdGiDgLinetypeModifiers
Definition: GiDgLinetype.h:353
OdGiSubEntityTraits
Definition: Gi.h:94
OdDbDgnLSPE::DgnLSSetupFlags
DgnLSSetupFlags
Definition: DbDgnLSPE.h:46
OdDbDgnLSModifiersPE::hasDgnLSModifiersXData
virtual bool hasDgnLSModifiersXData(const OdDbEntity *pEntity) const =0
OdDbEntity
Definition: DbEntity.h:90
OdDbDgnLSPE::setupDgnLSData
virtual OdUInt32 setupDgnLSData(const OdDbLinetypeTableRecord *pLTR, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const =0
OdGiDrawableTraits
Definition: Gi.h:71
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbDgnLSModifiersPE::removeDgnLSModifiersXData
virtual bool removeDgnLSModifiersXData(OdDbEntity *pEntity) const =0
DbLinetypeTableRecord.h
OdDbLinetypeTableRecord
Definition: DbLinetypeTableRecord.h:56
OdDbDgnLSModifiersPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbDgnLSModifiersPE)
OdDbDgnLSModifiersPEPtr
OdSmartPtr< OdDbDgnLSModifiersPE > OdDbDgnLSModifiersPEPtr
Definition: DbDgnLSPE.h:164