Go to the documentation of this file.
44 #ifndef __SIM_CXX_CONFIG_INI_HH__
45 #define __SIM_CXX_CONFIG_INI_HH__
64 bool getParam(
const std::string &object_name,
65 const std::string ¶m_name,
66 std::string &value)
const;
69 const std::string ¶m_name,
73 const std::string &port_name,
82 bool return_paths =
false)
const;
84 bool load(
const std::string &filename);
89 #endif // __SIM_CXX_CONFIG_INI_HH__
bool load(const std::string &filename)
Load config file.
This class represents the contents of a ".ini" file.
static scfx_rep_node * list
void getAllObjectNames(std::vector< std::string > &list) const
Get all SimObjects in the config.
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 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.
Config file wrapper providing a common interface to CxxConfigManager.
bool getParamVector(const std::string &object_name, const std::string ¶m_name, std::vector< std::string > &values) const
Get a list/vector parameter.
bool objectExists(const std::string &object_name) const
Does an object with this path exist?
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.
CxxConfigManager interface for using .ini files.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:59 for gem5 by doxygen 1.8.17