xdrpp
RFC4506 XDR compiler and message library
|
Contents of a specific property. More...
#include <iniparse.h>
Public Member Functions | |
std::ostream & | warn () const |
Print a message to cerr with the file ane line number prefixed. | |
std::ostream & | fail () const |
Like IniLine::warn, but also sets the error flag to indicate failure. | |
bool | error () const |
Returns true if there has been a parsing error in the ini file. | |
std::vector< string > | argv () const |
Transform the line into a vector of words. | |
template<typename T > | |
void | convert (T *rp) const |
Convert the line into a value of a type for which a from_string function has been defined. More... | |
Public Attributes | |
int | lineno_ {0} |
string | file_ |
string | group_ |
Name of the group containing property. | |
string | key_ |
Key of the property. | |
string | value_ |
Value of the property. More... | |
string | rawvalue_ |
Raw value of the property (with escape sequences unexpanded). | |
Contents of a specific property.
Definition at line 67 of file iniparse.h.
|
inline |
Convert the line into a value of a type for which a from_string
function has been defined.
Definition at line 92 of file iniparse.h.
string xdr::IniLine::value_ |
Value of the property.
Definition at line 75 of file iniparse.h.