gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
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 98 of file cxx_manager.hh.

Constructor & Destructor Documentation

◆ Renaming()

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

Definition at line 103 of file cxx_manager.hh.

Member Data Documentation

◆ fromPrefix

std::string CxxConfigManager::Renaming::fromPrefix

Definition at line 100 of file cxx_manager.hh.

Referenced by CxxConfigManager::rename(), and CxxConfigManager::unRename().

◆ toPrefix

std::string CxxConfigManager::Renaming::toPrefix

Definition at line 101 of file cxx_manager.hh.

Referenced by CxxConfigManager::rename(), and CxxConfigManager::unRename().


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

Generated on Wed Sep 30 2020 14:02:23 for gem5 by doxygen 1.8.17