CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Member Functions | List of all members
OdLyLayerGroup Class Reference

#include <LyLayerFilter.h>

Inheritance diagram for OdLyLayerGroup:
OdLyLayerFilter OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdLyLayerGroup)
 
 OdLyLayerGroup ()
 
virtual void addLayerId (const OdDbObjectId &layerId)
 
virtual void removeLayerId (const OdDbObjectId &layerId)
 
virtual const OdDbObjectIdArraylayerIds () const
 
- Public Member Functions inherited from OdLyLayerFilter
 ODRX_DECLARE_MEMBERS (OdLyLayerFilter)
 
 OdLyLayerFilter ()
 
virtual ~OdLyLayerFilter ()
 
virtual const OdStringname () const
 
virtual bool setName (const OdString &name)
 
virtual bool allowRename () const
 
virtual OdLyLayerFilterparent () const
 
virtual const OdLyLayerFilterArraygetNestedFilters () const
 
virtual void addNested (OdLyLayerFilter *pLayerFilter)
 
virtual void appendNested (bool bAppend)
 
virtual void removeNested (OdLyLayerFilter *pLayerFilter)
 
virtual OdResult generateNested ()
 
virtual bool dynamicallyGenerated () const
 
virtual bool allowNested () const
 
virtual bool allowDelete () const
 
virtual bool isProxy () const
 
virtual bool isIdFilter () const
 
virtual bool filter (OdDbLayerTableRecord *layer) const
 
virtual const OdStringfilterExpression () const
 
const OdLyBoolExprfilterExpressionTree () const
 
virtual OdResult setFilterExpression (const OdString &filterExpression)
 
virtual bool compareTo (const OdLyLayerFilter *pOther) const
 
virtual OdResult readFrom (OdDbDxfFiler *pFiler)
 
virtual void writeTo (OdDbDxfFiler *pFiler) const
 
- 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
 

Protected Member Functions

 OdLyLayerGroup (OdLySystemInternals *)
 
- Protected Member Functions inherited from OdLyLayerFilter
 OdLyLayerFilter (OdLySystemInternals *)
 

Additional Inherited Members

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

Detailed Description

This class implements LayerGroup objects.

Remarks
This class allows the client to specify, retrieve, and group and ungroup layers, and to determine if a layer is grouped within a LayerGroup object.
See also
TD_Db <group OdLy_Classes>

Definition at line 306 of file LyLayerFilter.h.

Constructor & Destructor Documentation

◆ OdLyLayerGroup() [1/2]

OdLyLayerGroup::OdLyLayerGroup ( )

◆ OdLyLayerGroup() [2/2]

OdLyLayerGroup::OdLyLayerGroup ( OdLySystemInternals )
protected

Member Function Documentation

◆ addLayerId()

virtual void OdLyLayerGroup::addLayerId ( const OdDbObjectId layerId)
virtual

Adds the specified layer to this LayerGroup object.

Parameters
layerId[in] Object ID of the OdDbLayerTableRecord.

◆ layerIds()

virtual const OdDbObjectIdArray& OdLyLayerGroup::layerIds ( ) const
virtual

Returns the LayerTableRecord Object IDs in this LayerGroup object.

◆ ODRX_DECLARE_MEMBERS()

OdLyLayerGroup::ODRX_DECLARE_MEMBERS ( OdLyLayerGroup  )

◆ removeLayerId()

virtual void OdLyLayerGroup::removeLayerId ( const OdDbObjectId layerId)
virtual

Removes the specified layer to this LayerGroup object.

Parameters
layerId[in] Object ID of the OdDbLayerTableRecord.

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