MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / string

Method string

src/utilities/filetypes/WorkflowJSON.cpp:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 std::string WorkflowJSON_Impl::string(bool includeHash) const {
133 Json::StreamWriterBuilder wbuilder;
134 // mimic the old StyledWriter behavior:
135 wbuilder["indentation"] = " ";
136 std::string result = Json::writeString(wbuilder, toJSON(includeHash));
137
138 return result;
139 }
140
141 std::string WorkflowJSON_Impl::hash() const {
142 Json::Value defaultValue("");

Callers 2

cloneMethod · 0.95
WorkflowJSON.cppFile · 0.45

Calls 1

toJSONFunction · 0.85

Tested by

no test coverage detected