LibreCAD
|
#include <block.h>
Public Member Functions | |
Block (std::string name, geo::Coordinate base) | |
const std::string | id () const override |
const std::string | name () const override |
const geo::Coordinate & | base () const |
![]() | |
MetaType () | |
virtual | ~MetaType ()=default |
Private Attributes | |
std::string | _name |
geo::Coordinate | _base |
lc::Block::Block | ( | std::string | name, |
geo::Coordinate | base | ||
) |
const lc::geo::Coordinate & lc::Block::base | ( | ) | const |
|
overridevirtual |
ID or primary key of this MetaType. This can be used in a storage manager to identify each individual meta type.
Implements lc::MetaType.
Definition at line 8 of file block.cpp.
|
overridevirtual |
Name of this meta type, for layer this can be '0' 'My Layer' etc, for LineStyles this can be 'DASHDOT' .
Implements lc::DocumentMetaType.
|
private |