![]() |
NDEVR
API Documentation
|
Storage class for all IO options related to an Ascii file output used by an IOFactory services that write to Ascii. More...
Public Member Functions | |
| AsciiOptions () | |
| Default constructor. | |
| bool | operator!= (const AsciiOptions &options) const |
| Checks inequality between this AsciiOptions and another. | |
| bool | operator== (const AsciiOptions &options) const |
| Checks equality between this AsciiOptions and another. | |
Public Attributes | |
| char | delimiter = ' ' |
| The column delimiter character. Defaults to tab. | |
| uint04 | end_line = Constant<uint04>::Max |
| The last line to read (inclusive). Defaults to max uint04 (read all). | |
| bool | ignore_white_space = true |
| Whether to trim leading and trailing whitespace from parsed values. | |
| uint04 | max_decimals = 8 |
| Maximum number of decimal places when writing floating-point values. | |
| uint04 | min_decimals = 0 |
| Minimum number of decimal places when writing floating-point values. | |
| Buffer< TypeInfo > | parameter_types |
| The type information corresponding to each entry in parameters. | |
| Buffer< DesignParameter > | parameters |
| The ordered list of design parameters to read or write per line. | |
| bool | remove_delimiters_from_data = false |
| Whether to strip delimiter characters found within data fields. | |
| uint04 | start_line = 0 |
| The first line to read from (0-based). Defaults to 0. | |
| bool | write_headers = false |
| Whether to write a header row containing parameter names. | |
Storage class for all IO options related to an Ascii file output used by an IOFactory services that write to Ascii.
Definition at line 43 of file AsciiOptions.h.
|
inline |
Default constructor.
Initializes all options to their default values.
Definition at line 47 of file AsciiOptions.h.
Referenced by operator!=(), and operator==().
|
inline |
Checks inequality between this AsciiOptions and another.
| [in] | options | The AsciiOptions to compare against. |
Definition at line 79 of file AsciiOptions.h.
References AsciiOptions(), delimiter, end_line, ignore_white_space, max_decimals, min_decimals, parameter_types, parameters, remove_delimiters_from_data, start_line, and write_headers.
|
inline |
Checks equality between this AsciiOptions and another.
| [in] | options | The AsciiOptions to compare against. |
Definition at line 62 of file AsciiOptions.h.
References AsciiOptions(), delimiter, end_line, ignore_white_space, max_decimals, min_decimals, parameter_types, parameters, remove_delimiters_from_data, start_line, and write_headers.