#include <types.h>
Inherits client::Object.
Inherited by client::TMap< K, V >.
|
| Map () |
|
int | get_size () |
|
void | clear () |
|
template<typename K , typename V , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value) &&(std::is_arithmetic< V >::value||std::is_pointer< V >::value), int >::type = 0> |
void | set (K k, V v) |
|
template<typename K , typename V , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value) &&(std::is_arithmetic< V >::value||std::is_pointer< V >::value), int >::type = 0> |
V | get (K k) |
|
template<typename K , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value), int >::type = 0> |
bool | has (K k) |
|
template<typename K , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value), int >::type = 0> |
bool | delete_ (K k) |
|
void | forEach (EventListener *callback) |
|
| Object () |
|
template<typename T > |
T | valueOf () |
|
| operator double () const |
|
Object * | operator[] (const client::String &name) const |
|
void | set_ (const client::String &name, Object *v) |
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> |
void | set_ (const client::String &name, T v) |
|
bool | hasOwnProperty (const client::String &name) |
|
◆ Map()
◆ clear()
void client::Map::clear |
( |
| ) |
|
◆ delete_()
template<typename K , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value), int >::type = 0>
bool client::Map::delete_ |
( |
K |
k | ) |
|
|
inline |
◆ forEach()
◆ get()
template<typename K , typename V , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value) &&(std::is_arithmetic< V >::value||std::is_pointer< V >::value), int >::type = 0>
V client::Map::get |
( |
K |
k | ) |
|
◆ get_size()
int client::Map::get_size |
( |
| ) |
|
◆ has()
template<typename K , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value), int >::type = 0>
bool client::Map::has |
( |
K |
k | ) |
|
◆ set()
template<typename K , typename V , typename std::enable_if<(std::is_arithmetic< K >::value||std::is_pointer< K >::value) &&(std::is_arithmetic< V >::value||std::is_pointer< V >::value), int >::type = 0>
void client::Map::set |
( |
K |
k, |
|
|
V |
v |
|
) |
| |