| gem5
    v21.1.0.2
    | 
A single key/value pair. More...
#include <inifile.hh>
| Public Member Functions | |
| Entry (const std::string &v) | |
| Constructor.  More... | |
| bool | isReferenced () | 
| Has this entry been used?  More... | |
| const std::string & | getValue () const | 
| Fetch the value.  More... | |
| void | setValue (const std::string &v) | 
| Set the value.  More... | |
| void | appendValue (const std::string &v) | 
| Append the given string to the value.  More... | |
| Private Attributes | |
| std::string | value | 
| The entry value.  More... | |
| bool | referenced | 
| Has this entry been used?  More... | |
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 | 
Fetch the value.
Definition at line 69 of file inifile.cc.
References referenced, and value.
Referenced by gem5::IniFile::find(), and gem5::IniFile::Section::printUnreferenced().
| 
 | inline | 
Has this entry been used?
Definition at line 75 of file inifile.hh.
References referenced.
Referenced by gem5::IniFile::Section::printUnreferenced().
| 
 | 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().