Last change
on this file since 2697 was
1591,
checked in by ymipsl, 6 years ago
|
Split object_factory_decl.cpp (template instantiation of object_templace class) in several (4) part in order to reduce the memory used at compilation for new intel compiler (intel 2018) and c++11 management.
YM
|
File size:
1.0 KB
|
Line | |
---|
1 | #include "object_factory_impl.hpp" |
---|
2 | #include "node_type.hpp" |
---|
3 | |
---|
4 | |
---|
5 | #define macro(U) \ |
---|
6 | template std::shared_ptr<U> CObjectFactory::GetObject<U>(const StdString& id); \ |
---|
7 | template std::shared_ptr<U> CObjectFactory::GetObject<U>(const StdString& context,const StdString& id); \ |
---|
8 | template std::shared_ptr<U> CObjectFactory::GetObject<U>(const U* const object); \ |
---|
9 | template int CObjectFactory::GetObjectNum<U>(void); \ |
---|
10 | template int CObjectFactory::GetObjectIdNum<U>(void); \ |
---|
11 | template const std::vector<std::shared_ptr<U> >& CObjectFactory::GetObjectVector<U>(const StdString& context ); \ |
---|
12 | template bool CObjectFactory::HasObject<U>(const StdString& id); \ |
---|
13 | template bool CObjectFactory::HasObject<U>(const StdString& context,const StdString& id); \ |
---|
14 | template std::shared_ptr<U> CObjectFactory::CreateObject<U>(const StdString& id ); \ |
---|
15 | template const StdString& CObjectFactory::GetUIdBase<U>(void); \ |
---|
16 | template StdString CObjectFactory::GenUId<U>(void); \ |
---|
17 | template bool CObjectFactory::IsGenUId<U>(const StdString& id); |
---|
18 | |
---|
19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.