CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdDbLayerStateProperties Class Referenceabstract

#include <DbLayerState.h>

Public Member Functions

 OdDbLayerStateProperties ()
 
virtual ~OdDbLayerStateProperties ()
 
virtual bool load ()=0
 
virtual bool save ()=0
 
virtual OdString getActiveLayer () const =0
 
virtual OdResult setActiveLayer (const OdString &layerStateName)=0
 
virtual bool isOn (const OdString &layerName) const =0
 
virtual OdResult setOn (const OdString &layerName, const bool &bOn)=0
 
virtual bool isFreezed (const OdString &layerName, OdDbObjectId id=NULL) const =0
 
virtual OdResult setFreeze (const OdString &layerName, const bool &bFreeze, OdDbObjectId id=NULL)=0
 
virtual bool isLocked (const OdString &layerName) const =0
 
virtual OdResult setLocked (const OdString &layerName, const bool &bLock)=0
 
virtual OdCmColor getLineColor (const OdString &layerName) const =0
 
virtual OdResult setLineColor (const OdString &layerName, const OdCmColor &color)=0
 
virtual OdDb::LineWeight getLineWeight (const OdString &layerName) const =0
 
virtual OdResult setLineWeight (const OdString &layerName, const OdDb::LineWeight &lweight)=0
 
virtual OdDbObjectId getLineType (const OdString &layerName) const =0
 
virtual OdResult setLineType (const OdString &layerName, const OdDbObjectId &ltype)=0
 
virtual OdString getPlotStyle (const OdString &layerName) const =0
 
virtual OdResult setPlotStyle (const OdString &layerName, const OdString &plotStyle)=0
 
virtual OdCmTransparency getTransparency (const OdString &layerName) const =0
 
virtual OdResult setTransparency (const OdString &layerName, const OdCmTransparency &transparency)=0
 
virtual bool isPlotable (const OdString &layerName) const =0
 
virtual OdResult setPlotable (const OdString &layerName, const bool &bPlot)=0
 
virtual bool isNewVPFreeze (const OdString &layerName) const =0
 
virtual OdResult setNewVPFreeze (const OdString &layerName, const bool &bNewVPFreeze)=0
 
virtual OdDbDatabasedatabase () const =0
 
virtual OdString getLayerStateName () const =0
 

Detailed Description

Description: Library: TD_Db {group:OdDb_Classes}

Definition at line 427 of file DbLayerState.h.

Constructor & Destructor Documentation

◆ OdDbLayerStateProperties()

OdDbLayerStateProperties::OdDbLayerStateProperties ( )
inline

Definition at line 430 of file DbLayerState.h.

◆ ~OdDbLayerStateProperties()

virtual OdDbLayerStateProperties::~OdDbLayerStateProperties ( )
inlinevirtual

Definition at line 431 of file DbLayerState.h.

Member Function Documentation

◆ database()

virtual OdDbDatabase* OdDbLayerStateProperties::database ( ) const
pure virtual

Description: Function to get database pointer of this object.

◆ getActiveLayer()

virtual OdString OdDbLayerStateProperties::getActiveLayer ( ) const
pure virtual

Description: Functions to get and set active layer into layer state in the specified database

◆ getLayerStateName()

virtual OdString OdDbLayerStateProperties::getLayerStateName ( ) const
pure virtual

Description: Function to get layer state name of this object.

◆ getLineColor()

virtual OdCmColor OdDbLayerStateProperties::getLineColor ( const OdString layerName) const
pure virtual

Description: Functions to get and set line color of the layer into layer state in the specified database

◆ getLineType()

virtual OdDbObjectId OdDbLayerStateProperties::getLineType ( const OdString layerName) const
pure virtual

Description: Functions to get and set line type of the layer into layer state in the specified database

◆ getLineWeight()

virtual OdDb::LineWeight OdDbLayerStateProperties::getLineWeight ( const OdString layerName) const
pure virtual

Description: Functions to get and set line weight of the layer into layer state in the specified database

◆ getPlotStyle()

virtual OdString OdDbLayerStateProperties::getPlotStyle ( const OdString layerName) const
pure virtual

Description: Functions to get and set plot style of the layer into layer state in the specified database

◆ getTransparency()

virtual OdCmTransparency OdDbLayerStateProperties::getTransparency ( const OdString layerName) const
pure virtual

Description: Functions to get and set transparency of the layer into layer state in the specified database

◆ isFreezed()

virtual bool OdDbLayerStateProperties::isFreezed ( const OdString layerName,
OdDbObjectId  id = NULL 
) const
pure virtual

Description: Functions to get and set freeze status of the layer into layer state in the specified database

◆ isLocked()

virtual bool OdDbLayerStateProperties::isLocked ( const OdString layerName) const
pure virtual

Description: Functions to get and set locked status of the layer into layer state in the specified database

◆ isNewVPFreeze()

virtual bool OdDbLayerStateProperties::isNewVPFreeze ( const OdString layerName) const
pure virtual

Description: Functions to get and set line color of the layer into layer state in the specified database

◆ isOn()

virtual bool OdDbLayerStateProperties::isOn ( const OdString layerName) const
pure virtual

Description: Functions to get and set on status of the layer into layer state in the specified database

◆ isPlotable()

virtual bool OdDbLayerStateProperties::isPlotable ( const OdString layerName) const
pure virtual

Description: Functions to get and set plot of the layer into layer state in the specified database

◆ load()

virtual bool OdDbLayerStateProperties::load ( )
pure virtual

Description: Function to load the information from database

◆ save()

virtual bool OdDbLayerStateProperties::save ( )
pure virtual

Description: Function to save the stored information into database

◆ setActiveLayer()

virtual OdResult OdDbLayerStateProperties::setActiveLayer ( const OdString layerStateName)
pure virtual

◆ setFreeze()

virtual OdResult OdDbLayerStateProperties::setFreeze ( const OdString layerName,
const bool &  bFreeze,
OdDbObjectId  id = NULL 
)
pure virtual

◆ setLineColor()

virtual OdResult OdDbLayerStateProperties::setLineColor ( const OdString layerName,
const OdCmColor color 
)
pure virtual

◆ setLineType()

virtual OdResult OdDbLayerStateProperties::setLineType ( const OdString layerName,
const OdDbObjectId ltype 
)
pure virtual

◆ setLineWeight()

virtual OdResult OdDbLayerStateProperties::setLineWeight ( const OdString layerName,
const OdDb::LineWeight lweight 
)
pure virtual

◆ setLocked()

virtual OdResult OdDbLayerStateProperties::setLocked ( const OdString layerName,
const bool &  bLock 
)
pure virtual

◆ setNewVPFreeze()

virtual OdResult OdDbLayerStateProperties::setNewVPFreeze ( const OdString layerName,
const bool &  bNewVPFreeze 
)
pure virtual

◆ setOn()

virtual OdResult OdDbLayerStateProperties::setOn ( const OdString layerName,
const bool &  bOn 
)
pure virtual

◆ setPlotable()

virtual OdResult OdDbLayerStateProperties::setPlotable ( const OdString layerName,
const bool &  bPlot 
)
pure virtual

◆ setPlotStyle()

virtual OdResult OdDbLayerStateProperties::setPlotStyle ( const OdString layerName,
const OdString plotStyle 
)
pure virtual

◆ setTransparency()

virtual OdResult OdDbLayerStateProperties::setTransparency ( const OdString layerName,
const OdCmTransparency transparency 
)
pure virtual

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