hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
|
#include <Dictionary.hpp>
Public Types | |
typedef std::map< _Key, _Value > | Items |
typedef Items::iterator | Iterator |
typedef Items::const_iterator | ConstIterator |
Public Member Functions | |
Dictionary (void) | |
Dictionary (const Dictionary &rhs) | |
Dictionary (Dictionary &&rhs) | |
virtual | ~Dictionary (void) |
Dictionary & | operator= (const Dictionary &rhs) |
Dictionary & | operator= (Dictionary &&rhs) |
Dictionary & | operator+= (const Dictionary &rhs) |
Dictionary & | operator/= (size_t count) |
const Items & | getItems (void) const |
size_t | getItemsCount (void) const |
bool | isExist (const _Key key) const |
const _Value & | getItem (const _Key &key) const |
_Value | getItem (const _Key &key) |
void | setItem (const _Key &key, const _Value &value) |
void | setItem (const _Key &key, _Value &&value) |
void | clear (void) |
template<class _Other > | |
_Other | cast (void) const |
template<class _Other , class _Arg > | |
_Other | cast (_Arg arg) const |
template<class _Other > | |
void | copy (_Other &other) const |
Iterator | begin (void) noexcept |
ConstIterator | begin (void) const noexcept |
Iterator | end (void) noexcept |
ConstIterator | end (void) const noexcept |
Protected Attributes | |
Items | items |
Definition at line 31 of file Dictionary.hpp.
typedef Items::const_iterator HCE::handlers::Dictionary< _Key, _Value >::ConstIterator |
Definition at line 36 of file Dictionary.hpp.
typedef std::map<_Key, _Value> HCE::handlers::Dictionary< _Key, _Value >::Items |
Definition at line 34 of file Dictionary.hpp.
typedef Items::iterator HCE::handlers::Dictionary< _Key, _Value >::Iterator |
Definition at line 35 of file Dictionary.hpp.
|
inline |
Definition at line 38 of file Dictionary.hpp.
HCE::handlers::Dictionary< _Key, _Value >::Dictionary | ( | const Dictionary< _Key, _Value > & | rhs | ) |
Definition at line 73 of file Dictionary.hpp.
HCE::handlers::Dictionary< _Key, _Value >::Dictionary | ( | Dictionary< _Key, _Value > && | rhs | ) |
Definition at line 79 of file Dictionary.hpp.
|
inlinevirtual |
Definition at line 41 of file Dictionary.hpp.
Dictionary< _Key, _Value >::Iterator HCE::handlers::Dictionary< _Key, _Value >::begin | ( | void | ) |
Dictionary< _Key, _Value >::ConstIterator HCE::handlers::Dictionary< _Key, _Value >::begin | ( | void | ) | const |
Definition at line 188 of file Dictionary.hpp.
_Other HCE::handlers::Dictionary< _Key, _Value >::cast | ( | void | ) | const |
_Other HCE::handlers::Dictionary< _Key, _Value >::cast | ( | _Arg | arg | ) | const |
Definition at line 167 of file Dictionary.hpp.
void HCE::handlers::Dictionary< _Key, _Value >::clear | ( | void | ) |
Definition at line 155 of file Dictionary.hpp.
void HCE::handlers::Dictionary< _Key, _Value >::copy | ( | _Other & | other | ) | const |
Definition at line 174 of file Dictionary.hpp.
Dictionary< _Key, _Value >::Iterator HCE::handlers::Dictionary< _Key, _Value >::end | ( | void | ) |
Dictionary< _Key, _Value >::ConstIterator HCE::handlers::Dictionary< _Key, _Value >::end | ( | void | ) | const |
Definition at line 198 of file Dictionary.hpp.
const _Value & HCE::handlers::Dictionary< _Key, _Value >::getItem | ( | const _Key & | key | ) | const |
Definition at line 134 of file Dictionary.hpp.
_Value HCE::handlers::Dictionary< _Key, _Value >::getItem | ( | const _Key & | key | ) |
Definition at line 140 of file Dictionary.hpp.
|
inline |
size_t HCE::handlers::Dictionary< _Key, _Value >::getItemsCount | ( | void | ) | const |
Definition at line 124 of file Dictionary.hpp.
bool HCE::handlers::Dictionary< _Key, _Value >::isExist | ( | const _Key | key | ) | const |
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator+= | ( | const Dictionary< _Key, _Value > & | rhs | ) |
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator/= | ( | size_t | count | ) |
Definition at line 112 of file Dictionary.hpp.
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator= | ( | const Dictionary< _Key, _Value > & | rhs | ) |
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator= | ( | Dictionary< _Key, _Value > && | rhs | ) |
Definition at line 94 of file Dictionary.hpp.
void HCE::handlers::Dictionary< _Key, _Value >::setItem | ( | const _Key & | key, |
const _Value & | value | ||
) |
Definition at line 145 of file Dictionary.hpp.
void HCE::handlers::Dictionary< _Key, _Value >::setItem | ( | const _Key & | key, |
_Value && | value | ||
) |
Definition at line 150 of file Dictionary.hpp.
|
protected |
Definition at line 70 of file Dictionary.hpp.