#include <bimap.h>
Public Member Functions | |
| bimap (const T1 tbl1[], const T2 tbl2[], int n) | |
| const T2 | operator[] (const T1 key) |
| returns the second type value indexed by the first type | |
| const T1 | operator[] (const T2 key) |
| returns the first type value indexed by the second type | |
| long | size () |
| returns the map size | |
| bimap & | add (const T1 &v1, const T2 &v2) |
| adds a pair of values | |
1.3.3