Go to the documentation of this file.
44 const std::string ¶m_name,
45 std::string &value)
const
47 return iniFile.
find(object_name, param_name, value);
52 const std::string ¶m_name,
56 bool ret =
iniFile.
find(object_name, param_name, value);
69 const std::string &port_name,
94 if (return_paths && object_name !=
"root") {
95 for (
auto i = children.begin();
i != children.end(); ++
i)
96 *
i = object_name +
"." + *
i;
void tokenize(vector< string > &v, const string &s, char token, bool ignore)
bool objectExists(const std::string &object_name) const
Does an object with this path exist?
void getSectionNames(std::vector< std::string > &list) const
Push all section names into the given vector.
void getObjectChildren(const std::string &object_name, std::vector< std::string > &children, bool return_paths=false) const
Get the names or paths of all the children SimObjects of this SimObject.
bool find(const std::string §ion, const std::string &entry, std::string &value) const
Find value corresponding to given section and entry names.
bool load(const std::string &filename)
Load config file.
static scfx_rep_node * list
void getAllObjectNames(std::vector< std::string > &list) const
Get all SimObjects in the config.
bool getParamVector(const std::string &object_name, const std::string ¶m_name, std::vector< std::string > &values) const
Get a list/vector parameter.
bool load(std::istream &f)
Load parameter settings from given istream.
bool sectionExists(const std::string §ion) const
Determine whether the named section exists in the .ini file.
bool getPortPeers(const std::string &object_name, const std::string &port_name, std::vector< std::string > &peers) const
Get the peer (connected) ports of the named ports.
bool getParam(const std::string &object_name, const std::string ¶m_name, std::string &value) const
Get a single parameter value as a string returned in value.
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17