Contains methods for easily reading and writing to an INI file including efficient casting, callback, and variable storage methods.
More...
|
void | addINIOption (const String &label, INIOption *option) |
|
bool | addManagedOption (const String &option_label, const String &option, bool replace=true) |
|
template<class t_type > |
void | addOption (const String &label, const Resource< t_type > &mem_loc)=delete |
|
template<class t_type > |
void | addOption (const String &label, const t_type &mem_loc)=delete |
|
template<class t_type , uint01 t_row_dims, uint01 t_col_dims> |
void | addOption (const String &label, Resource< Matrix< t_type, t_row_dims, t_col_dims > > &mem_loc) |
|
template<class t_type > |
void | addOption (const String &label, Resource< t_type > &mem_loc) |
|
template<uint01 t_dims, class t_type > |
void | addOption (const String &label, Resource< Vector< t_dims, t_type > > &mem_loc) |
|
template<class t_type > |
void | addOption (const String &label, t_type &mem_loc) |
|
template<uint01 t_dims, class t_type > |
void | addOption (const String &label, Vector< t_dims, t_type > &mem_loc) |
|
void | clear () |
|
Dictionary< String, String > | extraOptions () const |
|
Dictionary< String, String * > & | extraOptionsRef () |
|
String | getOption (const String &option, const String &default_value=String()) const |
|
bool | hasOption (const String &option) const |
|
bool | hasOption (uint08 hash_option) const |
|
| INIFactory () |
|
| INIFactory (const INIFactory &reader)=delete |
|
| INIFactory (INIFactory &&reader) noexcept |
|
bool | preserveOrder () const |
|
void | read (Scanner &file) |
|
void | readAsciiFile (File &file) |
|
void | readBinaryFile (File &file) |
|
void | setComment (char comment) |
|
void | setDelimiter (char delimiter) |
|
void | setPreserveOrder (bool preserve_order) |
|
void | setUseHashLabels (bool use_hash_labels) |
|
void | writeToAsciiFile (File &file, bool include_end_comment=false) |
|
void | writeToBinaryFile (File &file) |
|
void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2) |
|
virtual | ~INIFactory () |
|
Contains methods for easily reading and writing to an INI file including efficient casting, callback, and variable storage methods.
addOption functions take a REFERENCE to an object and will modify that reference
when option is read in.