gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::CxxConfigManager::Renaming Struct Reference

Name substitution when instantiating any object whose name starts with fromPrefix. More...

#include <cxx_manager.hh>

Public Member Functions

 Renaming (const std::string &from_prefix, const std::string &to_prefix)
 

Public Attributes

std::string fromPrefix
 
std::string toPrefix
 

Detailed Description

Name substitution when instantiating any object whose name starts with fromPrefix.

Where both renamed and unrenamed names are used in the code, ‘object’ as part of a name usually refers to the unrenamed name (the name as it appears in the config file) and ‘instance’ is part of the renamed name

Definition at line 101 of file cxx_manager.hh.

Constructor & Destructor Documentation

◆ Renaming()

gem5::CxxConfigManager::Renaming::Renaming ( const std::string & from_prefix,
const std::string & to_prefix )
inline

Definition at line 106 of file cxx_manager.hh.

Member Data Documentation

◆ fromPrefix

std::string gem5::CxxConfigManager::Renaming::fromPrefix

◆ toPrefix

std::string gem5::CxxConfigManager::Renaming::toPrefix

The documentation for this struct was generated from the following file:

Generated on Tue Jun 18 2024 16:24:10 for gem5 by doxygen 1.11.0