HPCToolkit
RealPathMgr Class Reference

#include <RealPathMgr.hpp>

Collaboration diagram for RealPathMgr:

Public Member Functions

 RealPathMgr ()
 
 ~RealPathMgr ()
 
 RealPathMgr (PathFindMgr *, PathReplacementMgr *)
 
bool realpath (std::string &pathNm) const
 
const std::string & searchPaths () const
 
void searchPaths (const std::string &sPaths)
 
std::string toString (uint flags=0) const
 
std::ostream & dump (std::ostream &os, uint flags=0, const char *pfx="") const
 
void ddump (uint flags=0) const
 

Static Public Member Functions

static RealPathMgrsingleton ()
 

Private Types

typedef std::map< std::string, std::string > MyMap
 

Private Attributes

PathFindMgrm_pathFindMgr
 
PathReplacementMgrm_pathReplaceMgr
 
std::string m_searchPaths
 
MyMap m_cache
 

Detailed Description

Definition at line 88 of file RealPathMgr.hpp.

Member Typedef Documentation

◆ MyMap

typedef std::map<std::string, std::string> RealPathMgr::MyMap
private

Definition at line 143 of file RealPathMgr.hpp.

Constructor & Destructor Documentation

◆ RealPathMgr() [1/2]

RealPathMgr::RealPathMgr ( )

Definition at line 92 of file RealPathMgr.cpp.

◆ ~RealPathMgr()

RealPathMgr::~RealPathMgr ( )

Definition at line 109 of file RealPathMgr.cpp.

◆ RealPathMgr() [2/2]

RealPathMgr::RealPathMgr ( PathFindMgr findMgr,
PathReplacementMgr replaceMgr 
)

Definition at line 101 of file RealPathMgr.cpp.

Member Function Documentation

◆ ddump()

void RealPathMgr::ddump ( uint  flags = 0) const

Definition at line 261 of file RealPathMgr.cpp.

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

◆ dump()

std::ostream & RealPathMgr::dump ( std::ostream &  os,
uint  flags = 0,
const char *  pfx = "" 
) const

Definition at line 244 of file RealPathMgr.cpp.

Here is the caller graph for this function:

◆ realpath()

bool RealPathMgr::realpath ( std::string &  pathNm) const

Definition at line 127 of file RealPathMgr.cpp.

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

◆ searchPaths() [1/2]

const std::string& RealPathMgr::searchPaths ( ) const
inline

Definition at line 111 of file RealPathMgr.hpp.

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

◆ searchPaths() [2/2]

void RealPathMgr::searchPaths ( const std::string &  sPaths)

◆ singleton()

RealPathMgr & RealPathMgr::singleton ( )
static

Definition at line 120 of file RealPathMgr.cpp.

Here is the caller graph for this function:

◆ toString()

string RealPathMgr::toString ( uint  flags = 0) const

Definition at line 235 of file RealPathMgr.cpp.

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

Member Data Documentation

◆ m_cache

MyMap RealPathMgr::m_cache
mutableprivate

Definition at line 149 of file RealPathMgr.hpp.

◆ m_pathFindMgr

PathFindMgr* RealPathMgr::m_pathFindMgr
private

Definition at line 145 of file RealPathMgr.hpp.

◆ m_pathReplaceMgr

PathReplacementMgr* RealPathMgr::m_pathReplaceMgr
private

Definition at line 146 of file RealPathMgr.hpp.

◆ m_searchPaths

std::string RealPathMgr::m_searchPaths
private

Definition at line 148 of file RealPathMgr.hpp.


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