LibreCAD
|
Class for storage of components of custom entities Child of Block for compatibility with other CAD software. More...
#include <customentitystorage.h>
Public Member Functions | |
CustomEntityStorage (const std::string &pluginName, const std::string &entityName, const geo::Coordinate &base, const std::map< std::string, std::string > params=std::map< std::string, std::string >()) | |
const std::string & | pluginName () const |
const std::string & | entityName () const |
CustomEntityStorage_CSPtr | setParam (const std::string ¶m, const std::string &value) const |
std::string | param (const std::string ¶m) const |
const std::map< std::string, std::string > & | params () const |
![]() | |
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 | _pluginName |
std::string | _entityName |
std::map< std::string, std::string > | _params |
Class for storage of components of custom entities Child of Block for compatibility with other CAD software.
Definition at line 14 of file customentitystorage.h.
CustomEntityStorage::CustomEntityStorage | ( | const std::string & | pluginName, |
const std::string & | entityName, | ||
const geo::Coordinate & | base, | ||
const std::map< std::string, std::string > | params = std::map<std::string, std::string>() |
||
) |
Definition at line 7 of file customentitystorage.cpp.
const std::string & CustomEntityStorage::entityName | ( | ) | const |
Definition at line 22 of file customentitystorage.cpp.
std::string CustomEntityStorage::param | ( | const std::string & | param | ) | const |
Definition at line 33 of file customentitystorage.cpp.
const std::map< std::string, std::string > & CustomEntityStorage::params | ( | ) | const |
Definition at line 42 of file customentitystorage.cpp.
const std::string & CustomEntityStorage::pluginName | ( | ) | const |
Definition at line 18 of file customentitystorage.cpp.
CustomEntityStorage_CSPtr CustomEntityStorage::setParam | ( | const std::string & | param, |
const std::string & | value | ||
) | const |
Definition at line 26 of file customentitystorage.cpp.
|
private |
Definition at line 31 of file customentitystorage.h.
|
private |
Definition at line 32 of file customentitystorage.h.
|
private |
Definition at line 30 of file customentitystorage.h.