Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

PathInfo::stat_mode Class Reference

Wrapper class for mode_t values as derived from ::stat. More...

#include <PathInfo.h>

List of all members.

Public Member Functions

 stat_mode (const mode_t &mode_r=0)
file_type fileType () const
bool isFile () const
bool isDir () const
bool isLink () const
bool isChr () const
bool isBlk () const
bool isFifo () const
bool isSock () const
bool isRUsr () const
bool isWUsr () const
bool isXUsr () const
bool isR () const
bool isW () const
bool isX () const
bool isRGrp () const
bool isWGrp () const
bool isXGrp () const
bool isROth () const
bool isWOth () const
bool isXOth () const
bool isUid () const
bool isGid () const
bool isVtx () const
mode_t uperm () const
mode_t gperm () const
mode_t operm () const
mode_t perm () const
bool isPerm (mode_t m) const
bool hasPerm (mode_t m) const
mode_t st_mode () const

Private Attributes

mode_t _mode

Friends

std::ostream & operator<< (std::ostream &str, const stat_mode &obj)


Detailed Description

Wrapper class for mode_t values as derived from ::stat.


Constructor & Destructor Documentation

PathInfo::stat_mode::stat_mode const mode_t &  mode_r = 0  )  [inline]
 


Member Function Documentation

PathInfo::file_type PathInfo::stat_mode::fileType  )  const
 

mode_t PathInfo::stat_mode::gperm  )  const [inline]
 

bool PathInfo::stat_mode::hasPerm mode_t  m  )  const [inline]
 

bool PathInfo::stat_mode::isBlk  )  const [inline]
 

bool PathInfo::stat_mode::isChr  )  const [inline]
 

bool PathInfo::stat_mode::isDir  )  const [inline]
 

bool PathInfo::stat_mode::isFifo  )  const [inline]
 

bool PathInfo::stat_mode::isFile  )  const [inline]
 

bool PathInfo::stat_mode::isGid  )  const [inline]
 

bool PathInfo::stat_mode::isLink  )  const [inline]
 

bool PathInfo::stat_mode::isPerm mode_t  m  )  const [inline]
 

bool PathInfo::stat_mode::isR  )  const [inline]
 

bool PathInfo::stat_mode::isRGrp  )  const [inline]
 

bool PathInfo::stat_mode::isROth  )  const [inline]
 

bool PathInfo::stat_mode::isRUsr  )  const [inline]
 

bool PathInfo::stat_mode::isSock  )  const [inline]
 

bool PathInfo::stat_mode::isUid  )  const [inline]
 

bool PathInfo::stat_mode::isVtx  )  const [inline]
 

bool PathInfo::stat_mode::isW  )  const [inline]
 

bool PathInfo::stat_mode::isWGrp  )  const [inline]
 

bool PathInfo::stat_mode::isWOth  )  const [inline]
 

bool PathInfo::stat_mode::isWUsr  )  const [inline]
 

bool PathInfo::stat_mode::isX  )  const [inline]
 

bool PathInfo::stat_mode::isXGrp  )  const [inline]
 

bool PathInfo::stat_mode::isXOth  )  const [inline]
 

bool PathInfo::stat_mode::isXUsr  )  const [inline]
 

mode_t PathInfo::stat_mode::operm  )  const [inline]
 

mode_t PathInfo::stat_mode::perm  )  const [inline]
 

mode_t PathInfo::stat_mode::st_mode  )  const [inline]
 

mode_t PathInfo::stat_mode::uperm  )  const [inline]
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  str,
const stat_mode obj
[friend]
 


Member Data Documentation

mode_t PathInfo::stat_mode::_mode [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Feb 23 23:56:11 2006 for liby2util by doxygen 1.3.6