gem5 v25.0.0.1
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.

References fromPrefix, and toPrefix.

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 Sat Oct 18 2025 08:06:50 for gem5 by doxygen 1.14.0