43#ifndef Foam_fileStat_H
44#define Foam_fileStat_H
95 const bool followLink =
true,
96 const unsigned int maxTime = 0
110 const bool followLink =
true,
111 const unsigned int maxTime = 0
123 bool good()
const noexcept
129 explicit operator bool()
const noexcept
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A class for handling file names.
Wrapper for stat() and lstat() system calls.
const struct stat & status() const noexcept
The raw status.
time_t modTime() const
The modification time in seconds, 0 for an invalid file-stat.
label size() const
Size in bytes, 0 for an invalid file-stat.
bool good() const noexcept
True if file-stat was successful.
double dmodTime() const
The modification time in seconds (nanosecond resolution), 0 for an invalid file-stat.
bool valid() const noexcept
True if file-stat was successful.
fileStat()
Default construct.
friend Ostream & operator<<(Ostream &os, const fileStat &fs)
bool sameINode(const fileStat &other) const
Compare two fileStats for same Inode.
friend Istream & operator>>(Istream &is, fileStat &fs)
bool sameDevice(const fileStat &other) const
Compare two fileStats for same device.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
Istream & operator>>(Istream &, directionInfo &)