CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScopedWorkingDirectory Class Reference

Classes

struct  DirectoryEntry
 

Public Member Functions

 ScopedWorkingDirectory (const string &path)
 
 ~ScopedWorkingDirectory ()
 
 operator bool () const
 
bool NextDirectoryEntry (DirectoryEntry *entry)
 

Protected Member Functions

string GetCurrentWorkingDirectory ()
 
void ChangeDirectory (const string &path)
 
bool IsDotEntry (const platform_dirent64 *dirent)
 

Private Attributes

const string previous_path_
 
DIR * directory_handle_
 

Detailed Description

Definition at line 156 of file cvmfs_suid_helper.cc.

Constructor & Destructor Documentation

ScopedWorkingDirectory::ScopedWorkingDirectory ( const string &  path)
inlineexplicit

Definition at line 158 of file cvmfs_suid_helper.cc.

ScopedWorkingDirectory::~ScopedWorkingDirectory ( )
inline

Definition at line 166 of file cvmfs_suid_helper.cc.

Member Function Documentation

void ScopedWorkingDirectory::ChangeDirectory ( const string &  path)
inlineprotected

Definition at line 206 of file cvmfs_suid_helper.cc.

Here is the call graph for this function:

string ScopedWorkingDirectory::GetCurrentWorkingDirectory ( )
inlineprotected

Definition at line 199 of file cvmfs_suid_helper.cc.

Here is the call graph for this function:

bool ScopedWorkingDirectory::IsDotEntry ( const platform_dirent64 dirent)
inlineprotected

Definition at line 211 of file cvmfs_suid_helper.cc.

bool ScopedWorkingDirectory::NextDirectoryEntry ( DirectoryEntry entry)
inline

Definition at line 180 of file cvmfs_suid_helper.cc.

Referenced by ClearDirectory().

Here is the call graph for this function:

Here is the caller graph for this function:

ScopedWorkingDirectory::operator bool ( ) const
inline

Definition at line 173 of file cvmfs_suid_helper.cc.

Member Data Documentation

DIR* ScopedWorkingDirectory::directory_handle_
private

Definition at line 218 of file cvmfs_suid_helper.cc.

const string ScopedWorkingDirectory::previous_path_
private

Definition at line 217 of file cvmfs_suid_helper.cc.


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