OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

fileStat Class Reference

List of all members.

Detailed Description

Definition at line 65 of file fileStat.H.


Public Member Functions

 fileStat ()
 Empty constructor.
 fileStat (const fileName &fName, const unsigned int maxTime=0)
 Construct from components.
 fileStat (Istream &)
 Construct from Istream.
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

Istream & operator>> (Istream &, fileStat &)
Ostream & operator<< (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

struct stat& status (  )  const [inline]

Raw status.

Definition at line 93 of file fileStat.H.

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 fileStat &  stat2  )  const

compare two fileStats for same Inode

bool sameINode ( const label  iNode  )  const

compare state against inode


Friends And Related Function Documentation

Istream& operator>> ( Istream &  ,
fileStat &   
) [friend]

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


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd