MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / Restore

Method Restore

src/App/VRMLObject.cpp:162–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void VRMLObject::Restore(Base::XMLReader& reader)
163{
164 App::GeoFeature::Restore(reader);
165 Urls.setSize(Resources.getSize());
166
167 // restore also the inline files if there
168 const std::vector<std::string>& urls = Resources.getValues();
169 for (const auto& url : urls) {
170 reader.addFile(url.c_str(), this);
171 }
172
173 this->indexRestore = 0;
174}
175
176void VRMLObject::SaveDocFile(Base::Writer& writer) const
177{

Callers

nothing calls this directly

Calls 5

setSizeMethod · 0.45
getSizeMethod · 0.45
getValuesMethod · 0.45
addFileMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected