hwdet::WindowsAdvancedFeatures Class Reference

Storage for all OS data specific to Windows. More...

#include <WindowsAdvancedFeatures.h>

Inheritance diagram for hwdet::WindowsAdvancedFeatures:

hwdet::AdvancedFeatures hwdet::XMLElement

Public Member Functions

 WindowsAdvancedFeatures (const String &os_version, const String &build_type, const String &service_pack, const String &windows_dir, const String &system_dir, unsigned int encryption_level)
 Constructor.
String GetVersion (void) const
 Get version of Windows.
String GetBuildType (void) const
 Get build type.
String GetServicePackVersion (void) const
 Get version of service pack.
String GetWindowDirectory (void) const
 Get directory path to Windows installation.
String GetSystemDirectory (void) const
 Get directory path to Windows system directory.
unsigned int GetEncryptionLevel (void) const
 Get encryption strength.

Private Attributes

XMLValueElement< String > * version
 OS version.
XMLValueElement< String > * build
 Build type.
XMLValueElement< String > * sp_version
 Service pack version.
XMLValueElement< String > * win_dir
 Windows directory.
XMLValueElement< String > * sys_dir
 System directory.
XMLValueElement< unsigned
int > * 
encryption
 Encryption strength.

Detailed Description

Storage for all OS data specific to Windows.


Constructor & Destructor Documentation

hwdet::WindowsAdvancedFeatures::WindowsAdvancedFeatures ( const String os_version,
const String build_type,
const String service_pack,
const String windows_dir,
const String system_dir,
unsigned int  encryption_level 
)

Constructor.

Parameters:
os_version Version of Windows OS.
build_type Build type identification.
service_pack Version of SP installed.
windows_dir Path to Windows directory.
system_dir Path to system directory/
encryption_level Strength of encryption in bits.


Member Function Documentation

String hwdet::WindowsAdvancedFeatures::GetBuildType ( void   )  const

Get build type.

Returns:
Build type identification string.

unsigned int hwdet::WindowsAdvancedFeatures::GetEncryptionLevel ( void   )  const

Get encryption strength.

Returns:
Enryption strength provided by the OS in bits.

String hwdet::WindowsAdvancedFeatures::GetServicePackVersion ( void   )  const

Get version of service pack.

Returns:
Version of the service pack installed. It is in form major.minor where major and minor are integers greater or equal than zero.

String hwdet::WindowsAdvancedFeatures::GetSystemDirectory ( void   )  const

Get directory path to Windows system directory.

Returns:
Path to system directory.

String hwdet::WindowsAdvancedFeatures::GetVersion ( void   )  const

Get version of Windows.

Returns:
Version of the Windows. It has following format: major.minor.build.

String hwdet::WindowsAdvancedFeatures::GetWindowDirectory ( void   )  const

Get directory path to Windows installation.

Returns:
Path to Windows installation directory.


Field Documentation

XMLValueElement< String >* hwdet::WindowsAdvancedFeatures::build [private]

Build type.

XMLValueElement< unsigned int >* hwdet::WindowsAdvancedFeatures::encryption [private]

Encryption strength.

XMLValueElement< String >* hwdet::WindowsAdvancedFeatures::sp_version [private]

Service pack version.

XMLValueElement< String >* hwdet::WindowsAdvancedFeatures::sys_dir [private]

System directory.

XMLValueElement< String >* hwdet::WindowsAdvancedFeatures::version [private]

OS version.

XMLValueElement< String >* hwdet::WindowsAdvancedFeatures::win_dir [private]

Windows directory.


The documentation for this class was generated from the following files:
Generated on Tue Dec 19 17:43:52 2006 for Detector for Windows by  doxygen 1.4.7