LibreCAD
|
#include <cadentity.h>
Public Member Functions | |
CADEntityBuilder () | |
virtual | ~CADEntityBuilder () |
void | copy (entity::CADEntity_CSPtr entity) |
const Layer_CSPtr & | layer () const |
Get layer. More... | |
void | setLayer (const Layer_CSPtr &layer) |
Set the layer. More... | |
const MetaInfo_CSPtr & | metaInfo () const |
Get MetaInfo. More... | |
void | setMetaInfo (const MetaInfo_CSPtr &metaInfo) |
Set MetaInfo. More... | |
const Block_CSPtr & | block () const |
Get block. More... | |
void | setBlock (const Block_CSPtr &block) |
Set the Block. More... | |
const ID_DATATYPE | id () const |
Get entity ID. More... | |
void | setID (ID_DATATYPE id) |
Set entity ID. More... | |
void | newID () |
Generate new ID for the entity. More... | |
virtual bool | checkValues () |
Private Attributes | |
Layer_CSPtr | _layer |
MetaInfo_CSPtr | _metaInfo |
Block_CSPtr | _block |
ID | _id |
Definition at line 7 of file cadentity.h.
|
inline |
|
inlinevirtual |
Definition at line 18 of file cadentity.h.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 22 of file cadentity.h.
|
inline |
|
inline |
|
inline |
|
inline |
Generate new ID for the entity.
Definition at line 96 of file cadentity.h.
|
inline |
Set the Block.
block | Block |
Definition at line 73 of file cadentity.h.
|
inline |
|
inline |
Set the layer.
layer | New layer |
Definition at line 41 of file cadentity.h.
|
inline |
Set MetaInfo.
metaInfo | new MetaInfo |
Definition at line 57 of file cadentity.h.
|
private |
Definition at line 107 of file cadentity.h.
|
private |
Definition at line 108 of file cadentity.h.
|
private |
Definition at line 105 of file cadentity.h.
|
private |
Definition at line 106 of file cadentity.h.