API documentation  2.0rc1
Public Member Functions | List of all members
client::TMap< K, V > Class Template Reference

#include <types.h>

Inherits client::Map.

Public Member Functions

 TMap ()
 
void set (K k, V v)
 
get (K k)
 
bool has (K k)
 
bool delete_ (K k)
 
- Public Member Functions inherited from client::Map
 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>
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)
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (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)
 

Constructor & Destructor Documentation

◆ TMap()

template<typename K , typename V >
client::TMap< K, V >::TMap ( )
inline

Member Function Documentation

◆ delete_()

template<typename K , typename V >
bool client::TMap< K, V >::delete_ ( k)
inline

◆ get()

template<typename K , typename V >
V client::TMap< K, V >::get ( k)
inline

◆ has()

template<typename K , typename V >
bool client::TMap< K, V >::has ( k)
inline

◆ set()

template<typename K , typename V >
void client::TMap< K, V >::set ( k,
v 
)
inline