system_version Class Reference
[System Library]

#include <winstl/system/system_version.hpp>

List of all members.


Detailed Description

Provides system version information.

This class wraps the GetSystemInfo() API function. Since the information that this function provides is constant for any particular active system for its lifetime, the function is called only once, as implemented via the get_versioninfo_() method.

Public Types

typedef system_version class_type
 This type.

Static Public Member Functions

static bool winnt ()
 Returns true if the operating system is one of the NT family (NT, 2000, XP, .NET).
static bool win9x ()
 Returns true if the operating system is one of the 95 family (95, 98, ME).
static bool win32s ()
 Returns true if the operating system is Win32s.
static ws_uint_t major ()
 Returns the operating system major version.
static ws_uint_t minor ()
 Returns the operating system minor version.
static ws_uint32_t build_number ()
 Returns the operating system build number.
static OSVERSIONINFO const & get_versioninfo ()
 Provides a non-mutable (const) reference to the OSVERSIONINFO instance.


Member Typedef Documentation

This type.


Member Function Documentation

bool winnt (  )  [inline, static]

Returns true if the operating system is one of the NT family (NT, 2000, XP, .NET).

Referenced by system_version::build_number().

bool win9x (  )  [inline, static]

Returns true if the operating system is one of the 95 family (95, 98, ME).

bool win32s (  )  [inline, static]

Returns true if the operating system is Win32s.

ws_uint_t major (  )  [inline, static]

Returns the operating system major version.

Referenced by pid_sequence::systemProcessId().

ws_uint_t minor (  )  [inline, static]

Returns the operating system minor version.

Referenced by pid_sequence::systemProcessId().

ws_uint32_t build_number (  )  [inline, static]

Returns the operating system build number.

References system_version::winnt().

OSVERSIONINFO const & get_versioninfo (  )  [inline, static]

Provides a non-mutable (const) reference to the OSVERSIONINFO instance.


The documentation for this class was generated from the following file:

Generated on Thu Jun 10 08:59:39 2010 for STLSoft by  doxygen 1.5.6