#include <NetworkAdapter.h>
Inheritance diagram for hwdet::NetworkAdapter:
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. |
hwdet::NetworkAdapter::NetworkAdapter | ( | const String & | adapter_name, | |
const String & | vendor_name, | |||
const String & | mac_addr, | |||
const String & | adapter_type | |||
) |
Constructor.
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. |
String hwdet::NetworkAdapter::GetMACAddress | ( | void | ) | const |
Get MAC address.
String hwdet::NetworkAdapter::GetName | ( | void | ) | const |
Get adapter's name.
String hwdet::NetworkAdapter::GetType | ( | void | ) | const |
Get type of the adapter.
String hwdet::NetworkAdapter::GetVendor | ( | void | ) | const |
Get vendor name.
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.