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

Method RestoreDocFile

src/App/PropertyPythonObject.cpp:543–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543void PropertyPythonObject::RestoreDocFile(Base::Reader& reader)
544{
545 aboutToSetValue();
546 std::string buffer;
547 char ch {};
548 while (reader.get(ch)) {
549 buffer.push_back(ch);
550 }
551 this->fromString(buffer);
552 hasSetValue();
553}
554
555unsigned int PropertyPythonObject::getMemSize() const
556{

Callers

nothing calls this directly

Calls 3

fromStringMethod · 0.95
getMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected