MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ReadString

Method ReadString

Source/Game/EntityDescription.cpp:1415–1417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413}
1414
1415void EntityDescriptionField::ReadString(std::string* str) const {
1416 str->assign(data.begin(), data.end());
1417}
1418
1419void EntityDescriptionField::WriteString(const std::string& str) {
1420 data.assign(str.begin(), str.end());

Callers 11

SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
ReturnPathsMethod · 0.45
SaveToXMLMethod · 0.45

Calls 3

assignMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected