CBuild
C++ build system with scripts written in c++
|
Simple pair of values, have "==" operator implemented. More...
#include <map.hpp>
Public Member Functions | |
mapData () | |
Construct a new map data object, ! Key and data variables is not initialize and contains garbage. | |
mapData (_K key, _D data) | |
Construct a new map data object. | |
bool | operator== (lib::mapData< _K, _D > val) |
If ((this.key == val.key) && (this.data == val.data)) | |
Public Attributes | |
_K | key |
_D | data |
Simple pair of values, have "==" operator implemented.
_K | -> Key, if this will be added to map need to have "==" operator implemented |
_D | -> Value All types must implement "=" operator All types must implement "==" operator |
|
inline |
|
inline |
Construct a new map data object.
key | => _K -> Key |
data | => _D -> Value |
Definition at line 55 of file map.hpp.
References lib::mapData< _K, _D >::data, and lib::mapData< _K, _D >::key.
|
inline |
If ((this.key == val.key) && (this.data == val.data))
val | => lib::mapData<_K, _D> -> Another mapData |
Definition at line 65 of file map.hpp.
References lib::mapData< _K, _D >::data, and lib::mapData< _K, _D >::key.
_D lib::mapData< _K, _D >::data |
Definition at line 41 of file map.hpp.
Referenced by lib::map< _K, _D >::get(), lib::mapData< _K, _D >::mapData(), and lib::mapData< _K, _D >::operator==().
_K lib::mapData< _K, _D >::key |
Definition at line 40 of file map.hpp.
Referenced by lib::map< _K, _D >::get(), lib::map< _K, _D >::get_ptr(), lib::mapData< _K, _D >::mapData(), lib::mapData< _K, _D >::operator==(), lib::map< _K, _D >::push_back_check(), and lib::map< _K, _D >::remove().