AngelCAD
1.5-00
|
Template container storing sorted keys and values: map<T_key,T_value> More...
#include <angelcad.h>
Public Member Functions | |
map (int &in) | |
map (int &in, map< T_key, T_value >@) | |
T_value & | find (const T_key &in) |
T_value & | find (const T_key &in, bool &out) |
bool | contains (const T_key &in) |
bool | empty () |
bool | erase (const map_iterator< T_key, T_value > &in) |
const T_value & | get_opIndex (const T_key &in) const |
int | erase (const map_iterator< T_key, T_value > &in, const map_iterator< T_key, T_value > &in) |
int | size () |
map< T_key, T_value > & | opAssign (map< T_key, T_value >@) |
map< T_key, T_value > & | swap (map< T_key, T_value > &inout) |
map_iterator< T_key, T_value > | begin () |
map_iterator< T_key, T_value > | end () |
map_iterator< T_key, T_value > | find_iterator (const T_key &in) |
void | SetDirectcomp (bool) |
void | clear () |
void | erase (const T_key &in) |
void | insert (const T_key &in, const T_value &in) |
void | set_opIndex (const T_key &in, const T_value &in) |
Template container storing sorted keys and values: map<T_key,T_value>
basic use:
map<int,string> cont;
cont.insert(2,"bb");
cont.insert(1,"aa");
cont.insert(3,"cc");
for(auto it = cont.begin(); it++;) cout << it.key << it.value << endl;
map::map | ( | int & | in | ) |
int |
map::map | ( | int & | in, |
map< T_key, T_value >@ | |||
) |
int | |
map |
map_iterator<T_key,T_value> map::begin | ( | ) |
void map::clear | ( | ) |
bool map::contains | ( | const T_key & | in | ) |
const | T_key& |
bool map::empty | ( | ) |
map_iterator<T_key,T_value> map::end | ( | ) |
bool map::erase | ( | const map_iterator< T_key, T_value > & | in | ) |
const | map_iterator& |
int map::erase | ( | const map_iterator< T_key, T_value > & | in, |
const map_iterator< T_key, T_value > & | in | ||
) |
const | map_iterator& |
const | map_iterator& |
void map::erase | ( | const T_key & | in | ) |
const | T_key& |
T_value& map::find | ( | const T_key & | in | ) |
const | T_key& |
T_value& map::find | ( | const T_key & | in, |
bool & | out | ||
) |
const | T_key& |
bool |
map_iterator<T_key,T_value> map::find_iterator | ( | const T_key & | in | ) |
const | T_key& |
const T_value& map::get_opIndex | ( | const T_key & | in | ) | const |
const | T_key& |
void map::insert | ( | const T_key & | in, |
const T_value & | in | ||
) |
const | T_key& |
const | T_value& |
void map::set_opIndex | ( | const T_key & | in, |
const T_value & | in | ||
) |
const | T_key& |
const | T_value& |
void map::SetDirectcomp | ( | bool | ) |
bool |
int map::size | ( | ) |