HPCToolkit
PathReplacementMgr Class Reference

#include <PathReplacementMgr.hpp>

Public Types

typedef std::pair< std::string, std::string > StringPair
 

Public Member Functions

 PathReplacementMgr ()
 
 ~PathReplacementMgr ()
 
std::string replace (const std::string &path) const
 
void addPath (const std::string &oldPath, const std::string &newPath)
 

Static Public Member Functions

static PathReplacementMgrsingleton ()
 

Private Attributes

std::vector< StringPairm_pathReplacement
 

Detailed Description

Definition at line 76 of file PathReplacementMgr.hpp.

Member Typedef Documentation

◆ StringPair

typedef std::pair<std:: string, std::string> PathReplacementMgr::StringPair

Definition at line 109 of file PathReplacementMgr.hpp.

Constructor & Destructor Documentation

◆ PathReplacementMgr()

PathReplacementMgr::PathReplacementMgr ( )

Definition at line 82 of file PathReplacementMgr.cpp.

◆ ~PathReplacementMgr()

PathReplacementMgr::~PathReplacementMgr ( )

Definition at line 87 of file PathReplacementMgr.cpp.

Member Function Documentation

◆ addPath()

void PathReplacementMgr::addPath ( const std::string &  oldPath,
const std::string &  newPath 
)

Definition at line 135 of file PathReplacementMgr.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ replace()

string PathReplacementMgr::replace ( const std::string &  path) const

Definition at line 100 of file PathReplacementMgr.cpp.

Here is the caller graph for this function:

◆ singleton()

PathReplacementMgr & PathReplacementMgr::singleton ( )
static

Definition at line 93 of file PathReplacementMgr.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_pathReplacement

std::vector<StringPair> PathReplacementMgr::m_pathReplacement
private

Definition at line 112 of file PathReplacementMgr.hpp.


The documentation for this class was generated from the following files: