G::Process::Umask Class Reference

Used to temporarily modify the process umask. More...

#include <gprocess.h>

Inheritance diagram for G::Process::Umask:

GSmtp::FileWriter

List of all members.

Public Types

enum  Mode { Readable, Tighter, Tightest, GroupOpen }

Public Member Functions

 Umask (Mode)
 ~Umask ()

Static Public Member Functions

static void set (Mode)

Classes

class  UmaskImp
 A private implementation class used by G::Process::Umask. More...


Detailed Description

Used to temporarily modify the process umask.

Definition at line 64 of file gprocess.h.


Member Enumeration Documentation

Enumerator:
Readable 
Tighter 
Tightest 
GroupOpen 

Definition at line 66 of file gprocess.h.


Constructor & Destructor Documentation

G::Process::Umask::Umask ( Mode  mode  )  [explicit]

G::Process::Umask::~Umask (  ) 

Definition at line 272 of file gprocess_unix.cpp.

References G::Process::Umask::UmaskImp::m_old_mode.


Member Function Documentation

void G::Process::Umask::set ( Mode  mode  )  [static]

Definition at line 278 of file gprocess_unix.cpp.

References Readable, and Tighter.


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

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5