#include "file-stat.h"
Public Member Functions | |
file_stat (const file_stat &fs) | |
file_stat (const std::string &n="", bool fl=true) | |
~file_stat () | |
void | get_stats (bool force=false) |
void | get_stats (const std::string &n, bool force=false) |
file_stat & | operator= (const file_stat &fs) |
Public Member Functions inherited from base_file_stat | |
base_file_stat () | |
base_file_stat (const base_file_stat &fs) | |
sys::time | atime () const |
long | blksize () const |
long | blocks () const |
sys::time | ctime () const |
dev_t | dev () const |
std::string | error () const |
bool | exists () const |
gid_t | gid () const |
ino_t | ino () const |
bool | is_blk () const |
bool | is_chr () const |
bool | is_dir () const |
bool | is_fifo () const |
bool | is_lnk () const |
bool | is_newer (const sys::time &time) const |
bool | is_reg () const |
bool | is_sock () const |
mode_t | mode () const |
std::string | mode_as_string () const |
sys::time | mtime () const |
nlink_t | nlink () const |
bool | ok () const |
operator bool () const | |
base_file_stat & | operator= (const base_file_stat &fs) |
dev_t | rdev () const |
off_t | size () const |
sys::time | time_resolution () const |
uid_t | uid () const |
Additional Inherited Members | |
Static Public Member Functions inherited from base_file_stat | |
static bool | have_struct_stat_st_blksize () |
static bool | have_struct_stat_st_blocks () |
static bool | have_struct_stat_st_rdev () |
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 int | is_newer (const std::string &, const sys::time &) |
static bool | is_reg (mode_t mode) |
static bool | is_sock (mode_t mode) |
Protected Member Functions inherited from base_file_stat | |
virtual | ~base_file_stat ()=default |
Protected Attributes inherited from base_file_stat | |
sys::time | m_atime |
long | m_blksize |
long | m_blocks |
sys::time | m_ctime |
dev_t | m_dev |
std::string | m_errmsg |
bool | m_fail |
gid_t | m_gid |
bool | m_initialized |
ino_t | m_ino |
mode_t | m_mode |
sys::time | m_mtime |
nlink_t | m_nlink |
dev_t | m_rdev |
off_t | m_size |
uid_t | m_uid |
Definition at line 211 of file file-stat.h.
file_stat::file_stat | ( | const std::string & | n = "" , |
bool | fl = true |
||
) |
Definition at line 178 of file file-stat.cc.
|
inline |
Definition at line 221 of file file-stat.h.
file_stat::~file_stat | ( | ) |
Definition at line 185 of file file-stat.cc.
|
inline |
Definition at line 242 of file file-stat.h.
|
inline |
Definition at line 248 of file file-stat.h.
References n.
Definition at line 225 of file file-stat.h.
References base_file_stat::operator=().