MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / clone

Method clone

src/ifcgeom/hybrid_kernel.h:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 return false;
158 }
159 virtual AbstractKernel* clone() const
160 {
161 std::vector<std::unique_ptr<AbstractKernel>> ks;
162 for (auto& k : kernels_) {
163 ks.emplace_back(k->clone());
164 }
165 // @todo ugly
166 return new HybridKernel(geometry_library(), file_, const_cast<Settings&>(settings()), std::move(ks));
167 }
168 };
169
170 inline std::unique_ptr<AbstractKernel> construct(IfcParse::IfcFile* file, const std::string& geometry_library, Settings& conv_settings) {

Callers 3

copy_Function · 0.45
setFunction · 0.45
process_concurrentlyMethod · 0.45

Calls 1

settingsClass · 0.50

Tested by

no test coverage detected