MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / clone

Method clone

src/geode/mesh/core/graph.cpp:286–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 }
285
286 std::unique_ptr< Graph > Graph::clone() const
287 {
288 auto clone = create( impl_name() );
289 auto builder = GraphBuilder::create( *clone );
290 builder->copy_identifier( *this );
291 builder->copy( *this );
292 return clone;
293 }
294
295 SERIALIZE_BITSERY_ARCHIVE( opengeode_mesh_api, EdgeVertex );
296

Callers 15

copyMethod · 0.45
test_cloneFunction · 0.45
test_cloneFunction · 0.45
test_cloneFunction · 0.45
test_cloneFunction · 0.45
test_cloneFunction · 0.45
test_cloneFunction · 0.45
test_cloneFunction · 0.45
test_cloneFunction · 0.45

Calls 3

impl_nameFunction · 0.50
copy_identifierMethod · 0.45
copyMethod · 0.45

Tested by 15

test_cloneFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36
testFunction · 0.36
test_cloneFunction · 0.36
test_cloneFunction · 0.36