|
|
A class intended to carry any type of MAC. The assumption is that all current and future MAC classes will have a printable string representation and can be treated as opaque identifiers.
| Mac ()
| Mac |
Default constructor
| Mac (const string& s)
throw (InvalidString) | Mac |
Construct MAC address from string. Mac address format must conform to one of known types.
Parameters:
| s | string representation of mac. |
Throws: InvalidString, if, s, is, not, recognized, Mac, type.
| inline const string& str ()
| str |
[const]
Returns: string representation of MAC address.
| inline bool empty ()
| empty |
[const]
Returns: true if MAC address value is unset.
| inline void set_rep (const string& s)
| set_rep |
[protected]
| string _srep | _srep |
[protected]
| Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:43 2003, using kdoc 2.0a54+XORP. |