Specify specific options for the JSONOutputArchive ! @param precision The precision used for floating point numbers @param indentChar The type of character to indent with @param indentLength The number of indentChar to use for indentation (0 corresponds to no indentation) */
| 140 | @param indentLength The number of indentChar to use for indentation |
| 141 | (0 corresponds to no indentation) */ |
| 142 | explicit Options( int precision = JSONWriter::kDefaultMaxDecimalPlaces, |
| 143 | IndentChar indentChar = IndentChar::space, |
| 144 | unsigned int indentLength = 4 ) : |
| 145 | itsPrecision( precision ), |
| 146 | itsIndentChar( static_cast<char>(indentChar) ), |
| 147 | itsIndentLength( indentLength ) { } |
| 148 | |
| 149 | private: |
| 150 | friend class JSONOutputArchive; |
nothing calls this directly
no outgoing calls
no test coverage detected