hwdet::BasicFeatures Class Reference

Storage class for common OS features. These features are supported by all detectors. More...

#include <BasicFeatures.h>

Inheritance diagram for hwdet::BasicFeatures:

hwdet::XMLElement

Public Member Functions

 BasicFeatures (void)
 Default ctor.
 BasicFeatures (const String &os_name, const String &os_vendor, const String &os_architecture)
 Constructor.
String GetName (void) const
 Get system name.
String GetVendor (void) const
 Get OS vendor name.
String GetArchitecture (void) const
 Get architecture identification.

Private Attributes

XMLValueElement< String > * name
 Name of system.
XMLValueElement< String > * vendor
 OS vendor name.
XMLValueElement< String > * architecture
 OS architecture identification.

Detailed Description

Storage class for common OS features. These features are supported by all detectors.


Constructor & Destructor Documentation

hwdet::BasicFeatures::BasicFeatures ( void   ) 

Default ctor.

hwdet::BasicFeatures::BasicFeatures ( const String os_name,
const String os_vendor,
const String os_architecture 
)

Constructor.

Parameters:
os_name Name of the OS.
os_vendor Name of the OS vendor.
os_architecture Architecture OS is running on.


Member Function Documentation

String hwdet::BasicFeatures::GetArchitecture ( void   )  const

Get architecture identification.

Returns:
OS architecture identification.

String hwdet::BasicFeatures::GetName ( void   )  const

Get system name.

Returns:
Name of the OS.

String hwdet::BasicFeatures::GetVendor ( void   )  const

Get OS vendor name.

Returns:
OS vendor name.


Field Documentation

XMLValueElement< String >* hwdet::BasicFeatures::architecture [private]

OS architecture identification.

XMLValueElement< String >* hwdet::BasicFeatures::name [private]

Name of system.

Reimplemented from hwdet::XMLElement.

XMLValueElement< String >* hwdet::BasicFeatures::vendor [private]

OS vendor name.


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