Foam::MSwindows Namespace Reference

OS-specific functions implemented for MS-windows. More...

Classes

class  directoryIterator
 A simple directory contents iterator. More...
 

Functions

 NamespaceName ("MSwindows")
 Declare namespace and its debug switch. More...
 
std::string lastError ()
 The last Windows API error from GetLastError. More...
 
std::string userName ()
 The user-name from Windows API GetUserName. More...
 

Detailed Description

OS-specific functions implemented for MS-windows.

Source files

Function Documentation

◆ NamespaceName()

Foam::MSwindows::NamespaceName ( "MSwindows"  )

Declare namespace and its debug switch.

◆ lastError()

std::string lastError ( )

The last Windows API error from GetLastError.

Definition at line 253 of file MSwindows.C.

References n, and Foam::output().

Referenced by Foam::dlOpen(), Foam::dlSymFind(), Foam::mkDir(), timer::timer(), and timer::~timer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ userName()

std::string userName ( )

The user-name from Windows API GetUserName.

Definition at line 297 of file MSwindows.C.