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

#include <DbBaseDatabase.h>

Inheritance diagram for OdDbBaseLayerPE:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbBaseLayerPE)
 
virtual OdString name (const OdRxObject *obj) const =0
 
virtual bool isOff (const OdRxObject *obj) const =0
 
virtual bool isFrozen (const OdRxObject *obj) const =0
 
virtual void setIsOff (OdRxObject *obj, bool off) const =0
 
virtual void setIsFrozen (OdRxObject *obj, bool frozen) const =0
 
virtual bool getLineType (OdRxObject *obj, OdGiLinetype &LType) 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 the protocol extension to be used as a layer abstraction, independent of the underlying database (OdDbDatabase or OdDgDatabase).

See also
TD_DbRoot

<group OdDbRoot_Classes>

Definition at line 526 of file DbBaseDatabase.h.

Member Function Documentation

◆ getLineType()

virtual bool OdDbBaseLayerPE::getLineType ( OdRxObject obj,
OdGiLinetype LType 
) const
pure virtual

Returns the current linetype for the specified layer.

Parameters
obj[in] A pointer to a layer object.
LType[out] An object of the OdGiLinetype class to store and return the information about layer's linetype.
Returns
Returns true if the linetype has been successfully retrieved from the layer object, otherwise returns false.

◆ isFrozen()

virtual bool OdDbBaseLayerPE::isFrozen ( const OdRxObject obj) const
pure virtual

Determines whether a specified layer is frozen.

Parameters
obj[in] A pointer to a layer object.
Returns
Returns true if the layer is frozen, otherwise returns false.

◆ isOff()

virtual bool OdDbBaseLayerPE::isOff ( const OdRxObject obj) const
pure virtual

Determines whether a specified layer object is off.

Parameters
obj[in] A pointer to a layer object.
Returns
Returns true if the layer is off, otherwise returns false.

◆ name()

virtual OdString OdDbBaseLayerPE::name ( const OdRxObject obj) const
pure virtual

Returns the name of a specified layer object.

Parameters
obj[in] A pointer to a layer object.

◆ ODRX_DECLARE_MEMBERS()

OdDbBaseLayerPE::ODRX_DECLARE_MEMBERS ( OdDbBaseLayerPE  )

◆ setIsFrozen()

virtual void OdDbBaseLayerPE::setIsFrozen ( OdRxObject obj,
bool  frozen 
) const
pure virtual

Sets the frozen status of this Layer.

Parameters
obj[in] A pointer to a layer object.
frozen[in] A new frozen status value (true to freeze, false to thaw).

◆ setIsOff()

virtual void OdDbBaseLayerPE::setIsOff ( OdRxObject obj,
bool  off 
) const
pure virtual

Sets the on / off status of this Layer.

Parameters
obj[in] A pointer to a layer object.
off[in] A new on / off status value (true for off, false for on).

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