gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
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 Sep 21 2021 12:27:29 for gem5 by doxygen 1.8.17