fileStat Class Reference
Wrapper for stat() system call.
More...
List of all members.
Detailed Description
Wrapper for stat() system call.
- Warning:
- on Linux (an maybe on others) a stat() of an nfs mounted (remote) file does never timeout and cannot be interrupted! So e.g. Foam::ping first and hope nfs is running.
- Source files
-
Definition at line 61 of file fileStat.H.
Constructor & Destructor Documentation
Empty constructor.
Definition at line 28 of file fileStat.C.
Construct from components.
Definition at line 34 of file fileStat.C.
Member Function Documentation
| struct stat& status |
( |
|
) |
const [inline, read] |
| bool isValid |
( |
|
) |
const [inline] |
Did constructor fail.
Definition at line 95 of file fileStat.H.
| bool sameDevice |
( |
const fileStat & |
stat2 |
) |
const |
compare two fileStats for same device
Definition at line 66 of file fileStat.C.
| bool sameINode |
( |
const fileStat & |
stat2 |
) |
const |
compare two fileStats for same Inode
Definition at line 77 of file fileStat.C.
| bool sameINode |
( |
const label |
iNode |
) |
const |
compare state against inode
Definition at line 83 of file fileStat.C.
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd