gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 100 of file cxx_manager.hh.

Constructor & Destructor Documentation

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

Definition at line 105 of file cxx_manager.hh.

Member Data Documentation

std::string CxxConfigManager::Renaming::fromPrefix

Definition at line 102 of file cxx_manager.hh.

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

std::string CxxConfigManager::Renaming::toPrefix

Definition at line 103 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 Fri Jun 9 2017 13:04:06 for gem5 by doxygen 1.8.6