GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
file_fstat Class Reference

#include "file-stat.h"

Inheritance diagram for file_fstat:
base_file_stat

Public Member Functions

 file_fstat ()=delete
 
 file_fstat (int n)
 
void get_stats (bool force=false)
 
void get_stats (int n, bool force=false)
 
- 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_statoperator= (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
 

Detailed Description

Definition at line 272 of file file-stat.h.

Constructor & Destructor Documentation

◆ file_fstat() [1/2]

file_fstat::file_fstat ( )
delete

◆ file_fstat() [2/2]

file_fstat::file_fstat ( int  n)
inline

Definition at line 280 of file file-stat.h.

Member Function Documentation

◆ get_stats() [1/2]

void file_fstat::get_stats ( bool  force = false)
inline

Definition at line 287 of file file-stat.h.

◆ get_stats() [2/2]

void file_fstat::get_stats ( int  n,
bool  force = false 
)
inline

Definition at line 293 of file file-stat.h.

References n.


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