|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <inicpp.h>
Public Member Functions | |
| IniFileBase ()=default | |
| IniFileBase (const char fieldSep, const char comment) | |
| IniFileBase (const std::string &filename) | |
| IniFileBase (std::istream &is) | |
| IniFileBase (const char fieldSep, const std::vector< std::string > &commentPrefixes) | |
| IniFileBase (const std::string &filename, const char fieldSep, const std::vector< std::string > &commentPrefixes) | |
| IniFileBase (std::istream &is, const char fieldSep, const std::vector< std::string > &commentPrefixes) | |
| ~IniFileBase () | |
| void | setFieldSep (const char sep) |
| void | setCommentChar (const char comment) |
| void | setCommentPrefixes (const std::vector< std::string > &commentPrefixes) |
| void | setEscapeChar (const char esc) |
| void | setMultiLineValues (bool enable) |
| void | decode (std::istream &is) |
| void | decode (const std::string &content) |
| void | load (const std::string &fileName) |
| void | encode (std::ostream &os) const |
| std::string | encode () const |
| void | save (const std::string &fileName) const |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the list of strings that should be interpreted as the start of comments. Default is [ "#" ]. Note: If the inifile contains any comment string as data it must be prefixed with the configured escape character.
| commentPrefixes | vector of comment prefix strings to be used. |
|
inline |
|
inline |
|
inline |