CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdDbBaseMaterialPE Class Referenceabstract

#include <DbBaseDatabase.h>

Inheritance diagram for OdDbBaseMaterialPE:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbBaseMaterialPE)
 
virtual OdString name (const OdRxObject *obj) const =0
 
virtual bool isDefault (const OdRxObject *obj) 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 material abstraction, independent of the underlying database (OdDbDatabase or OdDgDatabase).

See also
TD_DbRoot

<group OdDbRoot_Classes>

Definition at line 1246 of file DbBaseDatabase.h.

Member Function Documentation

◆ isDefault()

virtual bool OdDbBaseMaterialPE::isDefault ( const OdRxObject obj) const
pure virtual

Determines whether a material object is internal.

Parameters
obj[in] A pointer to a material object.
Returns
Returns true if the material object has been marked as internal, otherwise returns false.

◆ name()

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

Returns the name of a specified material object.

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

◆ ODRX_DECLARE_MEMBERS()

OdDbBaseMaterialPE::ODRX_DECLARE_MEMBERS ( OdDbBaseMaterialPE  )

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