Public Member Functions | |
WpcMacAddr () | |
Default constructor. | |
WpcMacAddr (WpcMacAddr const ©) | |
Copy constructor. | |
WpcMacAddr & | operator= (WpcMacAddr ©) |
Assigns another MacAddr object's contents to this one. | |
string & | ToString () |
Converts MAC address to string. | |
unsigned char & | at (unsigned int pos) |
Provides direct access to the address octet. | |
operator unsigned char * () | |
Returns pointer to octets. | |
Protected Attributes | |
unsigned char | m_addr [WPC_ETH_ADDR_SIZE] |
MAC address itself. |
Implements Ethernet hardware address storage and operations This class usefull for the WpcPacket operations
WpcMacAddr::WpcMacAddr | ( | ) | [inline] |
Default constructor.
WpcMacAddr::WpcMacAddr | ( | WpcMacAddr const & | copy | ) | [inline] |
Copy constructor.
Creates object as the copy from another one.
unsigned char & WpcMacAddr::at | ( | unsigned int | pos | ) |
Provides direct access to the address octet.
WpcError | if octet index is out of bound |
WpcMacAddr::operator unsigned char * | ( | ) | [inline] |
Returns pointer to octets.
WpcMacAddr& WpcMacAddr::operator= | ( | WpcMacAddr & | copy | ) | [inline] |
Assigns another MacAddr object's contents to this one.
string & WpcMacAddr::ToString | ( | ) |
unsigned char WpcMacAddr::m_addr[WPC_ETH_ADDR_SIZE] [protected] |
MAC address itself.
©2009 Positive Technologies |
Generated on Fri May 22 18:17:01 2009 for wpcObj by |
|
1.5.7 |
|