libopencad
Public Member Functions | Protected Attributes | List of all members
CADLayer Class Reference

Public Member Functions

 CADLayer (CADFile *const file)
 
string getName () const
 
void setName (const string &value)
 
bool getFrozen () const
 
void setFrozen (bool value)
 
bool getOn () const
 
void setOn (bool value)
 
bool getFrozenByDefault () const
 
void setFrozenByDefault (bool value)
 
bool getLocked () const
 
void setLocked (bool value)
 
bool getPlotting () const
 
void setPlotting (bool value)
 
short getLineWeight () const
 
void setLineWeight (short value)
 
short getColor () const
 
void setColor (short value)
 
size_t getId () const
 
void setId (const size_t &value)
 
long getHandle () const
 
void setHandle (long value)
 
void addHandle (long handle, enum CADObject::ObjectType type)
 
size_t getGeometryCount () const
 
CADGeometrygetGeometry (size_t index)
 

Protected Attributes

string layerName
 
bool frozen
 
bool on
 
bool frozenByDefault
 
bool locked
 
bool plotting
 
short lineWeight
 
short color
 
size_t layerId
 
long handle
 
short geometryType
 
vector< long > geometryHandles
 
vector< pair< long, map< string, long > > > geometryAttributes
 
CADFile *const pCADFile
 

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