CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScopedWorkingDirectory Class Reference
Collaboration diagram for ScopedWorkingDirectory:

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 148 of file cvmfs_suid_helper.cc.

Constructor & Destructor Documentation

ScopedWorkingDirectory::ScopedWorkingDirectory ( const string &  path)
inlineexplicit

Definition at line 150 of file cvmfs_suid_helper.cc.

ScopedWorkingDirectory::~ScopedWorkingDirectory ( )
inline

Definition at line 158 of file cvmfs_suid_helper.cc.

Member Function Documentation

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

Definition at line 198 of file cvmfs_suid_helper.cc.

Here is the call graph for this function:

string ScopedWorkingDirectory::GetCurrentWorkingDirectory ( )
inlineprotected

Definition at line 191 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 203 of file cvmfs_suid_helper.cc.

bool ScopedWorkingDirectory::NextDirectoryEntry ( DirectoryEntry entry)
inline

Definition at line 172 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 165 of file cvmfs_suid_helper.cc.

Member Data Documentation

DIR* ScopedWorkingDirectory::directory_handle_
private

Definition at line 210 of file cvmfs_suid_helper.cc.

const string ScopedWorkingDirectory::previous_path_
private

Definition at line 209 of file cvmfs_suid_helper.cc.


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