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

Method deserializeRecursive

source/MRMesh/MRObject.cpp:749–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747};
748
749Expected<void> Object::deserializeRecursive( const std::filesystem::path& path, const Json::Value& root, ProgressCallback progressCb, int* objCounter )
750{
751 // map for mapping relative path (link) to shared model file to first deserialized Object (used while deserialization)
752 MapLinkToSharedObjectModel mapLinkToSharedObjectModel{ .rootFolder = path };
753 return deserializeRecursive_( path, root, objCounter, mapLinkToSharedObjectModel, progressCb );
754}
755
756Expected<void> Object::deserializeRecursive_( const std::filesystem::path& path, const Json::Value& root,
757 int* objCounter, MapLinkToSharedObjectModel& mapLinkToSharedObjectModel, const ProgressCallback& progressCb )

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected