OpenFOAM logo
Open Source CFD Toolkit

fileStat Class Reference

List of all members.

Public Member Functions

 fileStat ()
 Empty constructor.
 fileStat (const fileName &fName, const unsigned int maxTime=0)
 Construct from components.
 fileStat (Istream &)
 Construct from Istream.
const struct stat & status () const
 Raw status.
bool isValid () const
 Did constructor fail.
bool sameDevice (const fileStat &stat2) const
 compare two fileStats for same device
bool sameINode (const fileStat &stat2) const
 compare two fileStats for same Inode
bool sameINode (const label iNode) const
 compare state against inode

Friends

Istreamoperator>> (Istream &, fileStat &)
Ostreamoperator<< (Ostream &, const fileStat &)

Constructor & Destructor Documentation

fileStat  ) 
 

Empty constructor.

fileStat const fileName fName,
const unsigned int  maxTime = 0
 

Construct from components.

fileStat Istream  ) 
 

Construct from Istream.


Member Function Documentation

bool isValid  )  const [inline]
 

Did constructor fail.

Definition at line 99 of file fileStat.H.

bool sameDevice const fileStat stat2  )  const
 

compare two fileStats for same device

bool sameINode const label  iNode  )  const
 

compare state against inode

bool sameINode const fileStat stat2  )  const
 

compare two fileStats for same Inode

const struct stat& status  )  const [inline]
 

Raw status.

Definition at line 93 of file fileStat.H.


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const fileStat
[friend]
 

Istream& operator>> Istream ,
fileStat
[friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org