CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | List of all members
OdDbMatchProperties Class Referenceabstract

#include <DbMatchProperties.h>

Inheritance diagram for OdDbMatchProperties:
OdRxObject

Public Types

enum  Flags {
  kColorFlag = 0x00001 , kLayerFlag = 0x00002 , kLtypeFlag = 0x00004 , kThicknessFlag = 0x00008 ,
  kLtscaleFlag = 0x00010 , kTextFlag = 0x00020 , kDimensionFlag = 0x00040 , kHatchFlag = 0x00080 ,
  kLweightFlag = 0x00100 , kPlotstylenameFlag = 0x00200 , kPolylineFlag = 0x00400 , kViewportFlag = 0x00800 ,
  kTableFlag = 0x01000 , kMaterialFlag = 0x02000 , kShadowDisplayFlag = 0x04000 , kMultileaderFlag = 0x08000 ,
  kTransparencyFlag = 0x10000 , kSetAllFlagsOn = 0x1FFFF
}
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbMatchProperties)
 
virtual void copyProperties (OdDbEntity *pSource, OdDbEntity *pDestination, unsigned int flags) const =0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is an abstract base class for classes which to copy properties between entities.

Corresponding C++ library: TD_Db

<group OdDb_Classes>

Definition at line 40 of file DbMatchProperties.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kColorFlag 
kLayerFlag 
kLtypeFlag 
kThicknessFlag 
kLtscaleFlag 
kTextFlag 
kDimensionFlag 
kHatchFlag 
kLweightFlag 
kPlotstylenameFlag 
kPolylineFlag 
kViewportFlag 
kTableFlag 
kMaterialFlag 
kShadowDisplayFlag 
kMultileaderFlag 
kTransparencyFlag 
kSetAllFlagsOn 

Definition at line 43 of file DbMatchProperties.h.

Member Function Documentation

◆ copyProperties()

virtual void OdDbMatchProperties::copyProperties ( OdDbEntity pSource,
OdDbEntity pDestination,
unsigned int  flags 
) const
pure virtual

Copies the specified properties from the source entity to the destination entity.

Parameters
pSource[in] Pointer to the source.
pDestination[in] Pointer to the destination.
flags[in] Properties to copy.
Remarks
flags must be a combination of one or more of the following:

Value Property kColorFlag 0x00001 Color kLayerFlag 0x00002 Layer kLtypeFlag 0x00004 Linetype kThicknessFlag 0x00008 Thickness kLtscaleFlag 0x00010 Linetype Scale kTextFlag 0x00020 Text kDimensionFlag 0x00040 Dimension kHatchFlag 0x00080 Hatch kLweightFlag 0x00100 Lineweight kPlotstylenameFlag 0x00200 Plotstyle Name kPolylineFlag 0x00400
kViewportFlag 0x00800 kTableFlag 0x01000 kMaterialFlag 0x02000 kShadowDisplayFlag 0x04000 kMultileaderFlag 0x08000 kTransparencyFlag 0x10000 kSetAllFlagsOn 0x1FFFF All

◆ ODRX_DECLARE_MEMBERS()

OdDbMatchProperties::ODRX_DECLARE_MEMBERS ( OdDbMatchProperties  )

The documentation for this class was generated from the following file: