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

Method getVector2i

source/MRMesh/MRConfig.cpp:231–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231Vector2i Config::getVector2i( const std::string& key, const Vector2i& defaultValue /*= Vector2i( 0, 0 ) */ ) const
232{
233 auto& val = config_[key];
234 Vector2i res = defaultValue;
235 deserializeFromJson( val, res );
236 return res;
237}
238
239void Config::setVector2i( const std::string& key, const Vector2i& keyValue )
240{

Callers 1

loadSettingsMethod · 0.80

Calls 1

deserializeFromJsonFunction · 0.70

Tested by

no test coverage detected