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

Method readString

src/App/PropertyStandard.cpp:3616–3624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3614}
3615
3616void PropertyMaterialList::readString(Base::InputStream& str, std::string& value)
3617{
3618 uint32_t uCt {};
3619 str >> uCt;
3620
3621 std::vector<char> temp(uCt);
3622 str.read(temp.data(), uCt);
3623 value.assign(temp.data(), temp.size());
3624}
3625
3626const char* PropertyMaterialList::getEditorName() const
3627{

Callers

nothing calls this directly

Calls 4

assignMethod · 0.80
readMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected