MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / StoreSampleData

Function StoreSampleData

openpgl/data/SampleData.h:202–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202inline void StoreSampleData(const std::string fileName, const SampleData *data, const size_t &numData)
203{
204 std::ofstream file;
205 file.open(fileName, std::ios::binary);
206
207 file.write((char *)&numData, sizeof(size_t));
208 file.write((char *)&data, numData * sizeof(SampleData));
209 file.close();
210}
211
212} // namespace openpgl

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected