Public Types | |
|
typedef tool::mapping< addr, addr, internals::ppmp_mapping_factory > | super_type |
Public Member Functions | |
| prefix_preserving_mac_policy (const std::string &mapname="MAC.map") | |
| const addr & | operator[] (const addr &) |
| operator std::ostream & () | |
| template<class T > | |
| std::ostream & | operator<< (const T &) |
Protected Member Functions | |
| void | load (std::istream &) |
| const addr & wpl::tool::mapping< addr , addr , internals::ppmp_mapping_factory >::operator[] | ( | const addr & | ) | [inherited] |
Retrieve the value of a corresponding key.
When the key already exists in the mapping, just return its value. Else, insert the (key, value) pair according to the Factory template parameter.
1.6.2