MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / addTag

Method addTag

source/MRMesh/MRObject.cpp:866–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866bool Object::addTag( std::string tag )
867{
868 const auto [it, inserted] = tags_.emplace( std::move( tag ) );
869 if ( inserted )
870 ObjectTagEventDispatcher::instance().tagAddedSignal( this, *it );
871 return inserted;
872}
873
874bool Object::removeTag( const std::string& tag )
875{

Callers 3

draw_helpersMethod · 0.80
drawTagInformation_Method · 0.80
postImportObjectFunction · 0.80

Calls 2

instanceFunction · 0.85
emplaceMethod · 0.45

Tested by

no test coverage detected