Navigation

Operators and Keywords

Function List:

C++ API

base_file_stat Class Reference

#include <file-stat.h>

Inherited by file_fstat, and file_stat.

Collaboration diagram for base_file_stat:

List of all members.


Public Member Functions

 base_file_stat (void)
 base_file_stat (const base_file_stat &fs)
base_file_statoperator= (const base_file_stat &fs)
 ~base_file_stat (void)
bool is_blk (void) const
bool is_chr (void) const
bool is_dir (void) const
bool is_fifo (void) const
bool is_lnk (void) const
bool is_reg (void) const
bool is_sock (void) const
ino_t ino (void) const
dev_t dev (void) const
nlink_t nlink (void) const
uid_t uid (void) const
gid_t gid (void) const
off_t size (void) const
octave_time atime (void) const
octave_time mtime (void) const
octave_time ctime (void) const
dev_t rdev (void) const
long blksize (void) const
long blocks (void) const
mode_t mode (void) const
std::string mode_as_string (void) const
bool ok (void) const
 operator bool () const
bool exists (void) const
std::string error (void) const
bool is_newer (const octave_time &time) const

Static Public Member Functions

static bool is_blk (mode_t mode)
static bool is_chr (mode_t mode)
static bool is_dir (mode_t mode)
static bool is_fifo (mode_t mode)
static bool is_lnk (mode_t mode)
static bool is_reg (mode_t mode)
static bool is_sock (mode_t mode)
static int is_newer (const std::string &, const octave_time &)

Protected Attributes

bool initialized
bool fail
std::string errmsg
mode_t fs_mode
ino_t fs_ino
dev_t fs_dev
nlink_t fs_nlink
uid_t fs_uid
gid_t fs_gid
off_t fs_size
octave_time fs_atime
octave_time fs_mtime
octave_time fs_ctime
dev_t fs_rdev
long fs_blksize
long fs_blocks

Constructor & Destructor Documentation

base_file_stat::base_file_stat ( void   )  [inline]

base_file_stat::base_file_stat ( const base_file_stat fs  )  [inline]

base_file_stat::~base_file_stat ( void   )  [inline]


Member Function Documentation

octave_time base_file_stat::atime ( void   )  const [inline]

long base_file_stat::blksize ( void   )  const [inline]

long base_file_stat::blocks ( void   )  const [inline]

octave_time base_file_stat::ctime ( void   )  const [inline]

dev_t base_file_stat::dev ( void   )  const [inline]

std::string base_file_stat::error ( void   )  const [inline]

bool base_file_stat::exists ( void   )  const [inline]

gid_t base_file_stat::gid ( void   )  const [inline]

ino_t base_file_stat::ino ( void   )  const [inline]

bool base_file_stat::is_blk ( mode_t  mode  )  [static]

bool base_file_stat::is_blk ( void   )  const

bool base_file_stat::is_chr ( mode_t  mode  )  [static]

bool base_file_stat::is_chr ( void   )  const

bool base_file_stat::is_dir ( mode_t  mode  )  [static]

bool base_file_stat::is_dir ( void   )  const

bool base_file_stat::is_fifo ( mode_t  mode  )  [static]

bool base_file_stat::is_fifo ( void   )  const

bool base_file_stat::is_lnk ( mode_t  mode  )  [static]

bool base_file_stat::is_lnk ( void   )  const

int base_file_stat::is_newer ( const std::string file,
const octave_time time 
) [static]

bool base_file_stat::is_newer ( const octave_time time  )  const [inline]

bool base_file_stat::is_reg ( mode_t  mode  )  [static]

bool base_file_stat::is_reg ( void   )  const

bool base_file_stat::is_sock ( mode_t  mode  )  [static]

bool base_file_stat::is_sock ( void   )  const

mode_t base_file_stat::mode ( void   )  const [inline]

std::string base_file_stat::mode_as_string ( void   )  const

octave_time base_file_stat::mtime ( void   )  const [inline]

nlink_t base_file_stat::nlink ( void   )  const [inline]

bool base_file_stat::ok ( void   )  const [inline]

base_file_stat::operator bool (  )  const [inline]

base_file_stat& base_file_stat::operator= ( const base_file_stat fs  )  [inline]

dev_t base_file_stat::rdev ( void   )  const [inline]

off_t base_file_stat::size ( void   )  const [inline]

uid_t base_file_stat::uid ( void   )  const [inline]


Member Data Documentation

long base_file_stat::fs_blksize [protected]

long base_file_stat::fs_blocks [protected]

dev_t base_file_stat::fs_dev [protected]

gid_t base_file_stat::fs_gid [protected]

ino_t base_file_stat::fs_ino [protected]

mode_t base_file_stat::fs_mode [protected]

nlink_t base_file_stat::fs_nlink [protected]

dev_t base_file_stat::fs_rdev [protected]

off_t base_file_stat::fs_size [protected]

uid_t base_file_stat::fs_uid [protected]


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