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

Method Save

src/App/VRMLObject.cpp:149–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void VRMLObject::Save(Base::Writer& writer) const
150{
151 App::GeoFeature::Save(writer);
152
153 // save also the inline files if there
154 const std::vector<std::string>& urls = Resources.getValues();
155 for (const auto& url : urls) {
156 writer.addFile(url.c_str(), this);
157 }
158
159 this->indexSave = 0;
160}
161
162void VRMLObject::Restore(Base::XMLReader& reader)
163{

Callers

nothing calls this directly

Calls 3

getValuesMethod · 0.45
addFileMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected