MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / setFloatField

Method setFloatField

SRC/handler/XmlFileStream.cpp:258–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258int
259XmlFileStream::setFloatField(floatField field)
260{
261 if (fileOpen == 0)
262 this->open();
263
264 if (field == FIXEDD) {
265 if (fileOpen != 0)
266 theFile << setiosflags(ios::fixed);
267 }
268 else if (field == SCIENTIFIC) {
269 if (fileOpen != 0)
270 theFile << setiosflags(ios::scientific);
271 }
272
273 return 0;
274}
275
276
277int

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected