gem5 v24.0.0.0
|
A single key/value pair. More...
#include <inifile.hh>
Public Member Functions | |
Entry (const std::string &v) | |
Constructor. | |
bool | isReferenced () const |
Has this entry been used? | |
const std::string & | getValue () const |
Fetch the value. | |
void | setValue (const std::string &v) |
Set the value. | |
void | appendValue (const std::string &v) |
Append the given string to the value. | |
Private Attributes | |
std::string | value |
The entry value. | |
bool | referenced |
Has this entry been used? | |
A single key/value pair.
Definition at line 62 of file inifile.hh.
|
inline |
Constructor.
Definition at line 69 of file inifile.hh.
|
inline |
Append the given string to the value.
A space is inserted between the existing value and the new value. Since this operation is typically used with values that are space-separated lists of tokens, this keeps the tokens separate.
Definition at line 88 of file inifile.hh.
References gem5::ArmISA::v, and value.
const std::string & gem5::IniFile::Entry::getValue | ( | ) | const |
|
inline |
|
inline |
|
mutableprivate |
Has this entry been used?
Definition at line 65 of file inifile.hh.
Referenced by getValue(), and isReferenced().
|
private |
The entry value.
Definition at line 64 of file inifile.hh.
Referenced by appendValue(), getValue(), and setValue().