CFx SDK Documentation  2022 SP0
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_
OdSmartPtr< OdDbDgnLSPE > OdDbDgnLSPEPtr
Definition: DbDgnLSPE.h:95
OdSmartPtr< OdDbDgnLSModifiersPE > OdDbDgnLSModifiersPEPtr
Definition: DbDgnLSPE.h:164
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
#define NULL
Definition: GsProperties.h:177
unsigned int OdUInt32
virtual bool removeDgnLSModifiersXData(OdDbEntity *pEntity) const =0
virtual bool writeDgnLSModifiersXData(OdDbEntity *pEntity, const OdGiDgLinetypeModifiers &pModifiers, const double *pScale=NULL) const =0
ODRX_DECLARE_MEMBERS(OdDbDgnLSModifiersPE)
virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiSubEntityTraits *pTraits) const =0
virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiDgLinetypeModifiers &pModifiers, double *pScale=NULL) const =0
virtual bool hasDgnLSModifiersXData(const OdDbEntity *pEntity) const =0
virtual OdUInt32 setupDgnLSCache(const OdRxObject *pCache, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const =0
virtual OdUInt32 setupDgnLSData(const OdDbLinetypeTableRecord *pLTR, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const =0
virtual OdUInt32 prepareDgnLSCache(const OdDbLinetypeTableRecord *pLTR, OdRxObjectPtr &pCache) const =0
virtual bool hasDgnLSData(const OdDbLinetypeTableRecord *pLTR) const =0
ODRX_DECLARE_MEMBERS(OdDbDgnLSPE)