CFx SDK Documentation  2020SP3
DbMatchProperties.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 ODDBMATCHPROPERTIES_H
25 #define ODDBMATCHPROPERTIES_H
26 
27 #include "RxObject.h"
28 #include "DbExport.h"
29 
30 class OdDbEntity;
31 
41 {
42 public:
43  enum Flags
44  {
45  kColorFlag = 0x00001, // Color
46  kLayerFlag = 0x00002, // Layer
47  kLtypeFlag = 0x00004, // Linetype
48  kThicknessFlag = 0x00008, // Thickness
49  kLtscaleFlag = 0x00010, // Linetype Scale
50  kTextFlag = 0x00020, // Text
51  kDimensionFlag = 0x00040, // Dimension
52  kHatchFlag = 0x00080, // Hatch
53  kLweightFlag = 0x00100, // Lineweight
54  kPlotstylenameFlag = 0x00200, // Plotstyle Name
55  kPolylineFlag = 0x00400, //
56  kViewportFlag = 0x00800,
57  kTableFlag = 0x01000,
58  kMaterialFlag = 0x02000,
59  kShadowDisplayFlag = 0x04000,
60  kMultileaderFlag = 0x08000,
61  kTransparencyFlag = 0x10000,
62  kSetAllFlagsOn = 0x1FFFF // All
63  };
64 
66 
98  virtual void copyProperties(
99  OdDbEntity* pSource,
100  OdDbEntity* pDestination,
101  unsigned int flags) const = 0;
102 };
103 
104 #endif // ODDBMATCHPROPERTIES_H
105 
DbExport.h
OdDbMatchProperties::copyProperties
virtual void copyProperties(OdDbEntity *pSource, OdDbEntity *pDestination, unsigned int flags) const =0
OdDbMatchProperties
Definition: DbMatchProperties.h:41
OdRxObject
Definition: RxObject.h:564
RxObject.h
OdDbMatchProperties::Flags
Flags
Definition: DbMatchProperties.h:44
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition: OdPlatformSettings.h:117
OdDbEntity
Definition: DbEntity.h:90
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbMatchProperties::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbMatchProperties)