BuildCache
Public Member Functions | Private Attributes | List of all members
bcache::file::exe_path_t Class Reference

Path to an executable file. More...

#include <file_utils.hpp>

Public Member Functions

 exe_path_t (const std::string real_path, const std::string virtual_path, const std::string invoked_as)
 
const std::string & real_path () const
 
const std::string & virtual_path () const
 
const std::string & invoked_as () const
 

Private Attributes

std::string m_real_path
 
std::string m_virtual_path
 
std::string m_invoked_as
 

Detailed Description

Path to an executable file.

This object contains:

Member Function Documentation

◆ invoked_as()

const std::string& bcache::file::exe_path_t::invoked_as ( ) const
inline
Returns
the invokation command.

◆ real_path()

const std::string& bcache::file::exe_path_t::real_path ( ) const
inline
Returns
the real (resolved) path of the executable file.

◆ virtual_path()

const std::string& bcache::file::exe_path_t::virtual_path ( ) const
inline
Returns
the virtual (unresolved) path of the executable file.
Note
This will be different from real_path if it represents a symbolic link to the real executable file.

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