hwdet::NetworkAdapter Class Reference

Storage for all network related data. More...

#include <NetworkAdapter.h>

Inheritance diagram for hwdet::NetworkAdapter:

hwdet::XMLElement

Public Member Functions

 NetworkAdapter (const String &adapter_name, const String &vendor_name, const String &mac_addr, const String &adapter_type)
 Constructor.
String GetName (void) const
 Get adapter's name.
String GetVendor (void) const
 Get vendor name.
String GetMACAddress (void) const
 Get MAC address.
String GetType (void) const
 Get type of the adapter.

Private Attributes

XMLValueElement< String > * adap_name
 Adapter name.
XMLValueElement< String > * vendor
 Adapter vendor.
XMLValueElement< String > * type
 Adapter type.
XMLValueElement< String > * mac
 MAC address.

Detailed Description

Storage for all network related data.


Constructor & Destructor Documentation

hwdet::NetworkAdapter::NetworkAdapter ( const String adapter_name,
const String vendor_name,
const String mac_addr,
const String adapter_type 
)

Constructor.

Parameters:
adapter_name Name of the network adapter.
vendor_name Name of the vendor.
mac_addr String with MAC address.
adapter_type String with description of adapter type.


Member Function Documentation

String hwdet::NetworkAdapter::GetMACAddress ( void   )  const

Get MAC address.

Returns:
String containing MAC address of the adapter.

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

Get adapter's name.

Returns:
String with adapter name.

String hwdet::NetworkAdapter::GetType ( void   )  const

Get type of the adapter.

Returns:
Type of the adapter.

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

Get vendor name.

Returns:
String with vendor name.


Field Documentation

XMLValueElement< String >* hwdet::NetworkAdapter::adap_name [private]

Adapter name.

XMLValueElement< String >* hwdet::NetworkAdapter::mac [private]

MAC address.

XMLValueElement< String >* hwdet::NetworkAdapter::type [private]

Adapter type.

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

Adapter vendor.


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