MS-Windows versions of the functions declared in OSspecific.H. More...
Go to the source code of this file.
Classes | |
| class | directoryIterator |
| A simple directory contents iterator. More... | |
Namespaces | |
| Foam | |
| Namespace for OpenFOAM. | |
| Foam::MSwindows | |
| OS-specific functions implemented for MS-windows. | |
Macros | |
| #define | WIN32_LEAN_AND_MEAN |
| #define | EXT_SO "dll" |
| #define | ms_isdir(a) ((m != INVALID_FILE_ATTRIBUTES) && (m & FILE_ATTRIBUTE_DIRECTORY)) |
| #define | ms_isreg(s) ((m != INVALID_FILE_ATTRIBUTES) && !(m & FILE_ATTRIBUTE_DIRECTORY)) |
Functions | |
| defineTypeNameAndDebug (MSwindows, 0) | |
| static void | sigAbortHandler (int exitCode) |
| static bool | installAbortHandler () |
| static bool | renameFile (const fileName &src, const fileName &dst) |
| static bool | isGzFile (const std::string &name) |
Variables | |
| static const bool | abortHandlerInstalled = installAbortHandler() |
| static std::unordered_map< void *, std::string > | libsLoaded |
MS-Windows versions of the functions declared in OSspecific.H.
Original source file MSwindows.C
Definition in file MSwindows.C.
| #define WIN32_LEAN_AND_MEAN |
Definition at line 49 of file MSwindows.C.
| #define EXT_SO "dll" |
Definition at line 54 of file MSwindows.C.
| #define ms_isdir | ( | a | ) | ((m != INVALID_FILE_ATTRIBUTES) && (m & FILE_ATTRIBUTE_DIRECTORY)) |
Definition at line 581 of file MSwindows.C.
| #define ms_isreg | ( | s | ) | ((m != INVALID_FILE_ATTRIBUTES) && !(m & FILE_ATTRIBUTE_DIRECTORY)) |
Definition at line 585 of file MSwindows.C.
|
static |
Definition at line 617 of file MSwindows.C.
References ms_isreg, and Foam::name().
Referenced by Foam::exists(), and Foam::isFile().
|
static |
Definition at line 1203 of file MSwindows.C.
Referenced by Foam::dlClose(), Foam::dlLoaded(), and Foam::dlOpen().