LibreCAD
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
metainfo.cpp
Go to the documentation of this file.
1
#include "
cad/interface/metatype.h
"
2
#include "
metainfo.h
"
3
4
5
using namespace
lc
;
6
7
8
std::shared_ptr<MetaInfo>
MetaInfo::add
(EntityMetaType_CSPtr mt) {
9
this->emplace(mt->metaTypeID(), mt);
10
return
shared_from_this();
11
}
12
17
std::shared_ptr<MetaInfo>
MetaInfo::addDxfLinePattern
(DxfLinePattern_CSPtr lp) {
18
this->emplace(lp->metaTypeID(), lp);
19
return
shared_from_this();
20
}
21
22
//std::shared_ptr<MetaInfo> MetaInfo::add(std::string name, MetaType_CSPtr mt) {
23
// this->emplace(name, mt);
24
// return shared_from_this();
25
//}
26
metainfo.h
lc::MetaInfo::addDxfLinePattern
std::shared_ptr< MetaInfo > addDxfLinePattern(DxfLinePattern_CSPtr lp)
Definition:
metainfo.cpp:17
metatype.h
lc
Definition:
cadentity.h:12
lc::MetaInfo::add
std::shared_ptr< MetaInfo > add(EntityMetaType_CSPtr mt)
Definition:
metainfo.cpp:8
lckernel
cad
base
metainfo.cpp
Generated on Mon Jun 18 2018 14:02:07 for LibreCAD by
1.8.8