hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::handlers::Dictionary< _Key, _Value > Class Template Reference

#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)
Dictionaryoperator= (const Dictionary &rhs)
Dictionaryoperator= (Dictionary &&rhs)
Dictionaryoperator+= (const Dictionary &rhs)
Dictionaryoperator/= (size_t count)
const ItemsgetItems (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

Detailed Description

template<typename _Key = std::string, typename _Value = unsigned int>
class HCE::handlers::Dictionary< _Key, _Value >

Definition at line 31 of file Dictionary.hpp.

Member Typedef Documentation

template<typename _Key = std::string, typename _Value = unsigned int>
typedef Items::const_iterator HCE::handlers::Dictionary< _Key, _Value >::ConstIterator

Definition at line 36 of file Dictionary.hpp.

template<typename _Key = std::string, typename _Value = unsigned int>
typedef std::map<_Key, _Value> HCE::handlers::Dictionary< _Key, _Value >::Items

Definition at line 34 of file Dictionary.hpp.

template<typename _Key = std::string, typename _Value = unsigned int>
typedef Items::iterator HCE::handlers::Dictionary< _Key, _Value >::Iterator

Definition at line 35 of file Dictionary.hpp.

Constructor & Destructor Documentation

template<typename _Key = std::string, typename _Value = unsigned int>
HCE::handlers::Dictionary< _Key, _Value >::Dictionary ( void  )
inline

Definition at line 38 of file Dictionary.hpp.

template<class _Key , class _Value >
HCE::handlers::Dictionary< _Key, _Value >::Dictionary ( const Dictionary< _Key, _Value > &  rhs)

Definition at line 73 of file Dictionary.hpp.

template<class _Key , class _Value >
HCE::handlers::Dictionary< _Key, _Value >::Dictionary ( Dictionary< _Key, _Value > &&  rhs)

Definition at line 79 of file Dictionary.hpp.

template<typename _Key = std::string, typename _Value = unsigned int>
virtual HCE::handlers::Dictionary< _Key, _Value >::~Dictionary ( void  )
inlinevirtual

Definition at line 41 of file Dictionary.hpp.

Member Function Documentation

template<class _Key , class _Value >
Dictionary< _Key, _Value >::Iterator HCE::handlers::Dictionary< _Key, _Value >::begin ( void  )

Definition at line 183 of file Dictionary.hpp.

Here is the caller graph for this function:

template<class _Key , class _Value >
Dictionary< _Key, _Value >::ConstIterator HCE::handlers::Dictionary< _Key, _Value >::begin ( void  ) const

Definition at line 188 of file Dictionary.hpp.

template<class _Key , class _Value >
template<class _Other >
_Other HCE::handlers::Dictionary< _Key, _Value >::cast ( void  ) const

Definition at line 160 of file Dictionary.hpp.

Here is the caller graph for this function:

template<class _Key , class _Value >
template<class _Other , class _Arg >
_Other HCE::handlers::Dictionary< _Key, _Value >::cast ( _Arg  arg) const

Definition at line 167 of file Dictionary.hpp.

template<class _Key , class _Value >
void HCE::handlers::Dictionary< _Key, _Value >::clear ( void  )

Definition at line 155 of file Dictionary.hpp.

template<class _Key , class _Value >
template<class _Other >
void HCE::handlers::Dictionary< _Key, _Value >::copy ( _Other &  other) const

Definition at line 174 of file Dictionary.hpp.

template<class _Key , class _Value >
Dictionary< _Key, _Value >::Iterator HCE::handlers::Dictionary< _Key, _Value >::end ( void  )

Definition at line 193 of file Dictionary.hpp.

Here is the caller graph for this function:

template<class _Key , class _Value >
Dictionary< _Key, _Value >::ConstIterator HCE::handlers::Dictionary< _Key, _Value >::end ( void  ) const

Definition at line 198 of file Dictionary.hpp.

template<class _Key, class _Value >
const _Value & HCE::handlers::Dictionary< _Key, _Value >::getItem ( const _Key &  key) const

Definition at line 134 of file Dictionary.hpp.

template<class _Key, class _Value >
_Value HCE::handlers::Dictionary< _Key, _Value >::getItem ( const _Key &  key)

Definition at line 140 of file Dictionary.hpp.

template<typename _Key = std::string, typename _Value = unsigned int>
const Items& HCE::handlers::Dictionary< _Key, _Value >::getItems ( void  ) const
inline

Definition at line 49 of file Dictionary.hpp.

Here is the caller graph for this function:

template<class _Key , class _Value >
size_t HCE::handlers::Dictionary< _Key, _Value >::getItemsCount ( void  ) const

Definition at line 124 of file Dictionary.hpp.

template<class _Key, class _Value >
bool HCE::handlers::Dictionary< _Key, _Value >::isExist ( const _Key  key) const

Definition at line 129 of file Dictionary.hpp.

Here is the caller graph for this function:

template<class _Key , class _Value >
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator+= ( const Dictionary< _Key, _Value > &  rhs)

Definition at line 103 of file Dictionary.hpp.

Here is the call graph for this function:

template<class _Key , class _Value >
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator/= ( size_t  count)

Definition at line 112 of file Dictionary.hpp.

template<class _Key , class _Value >
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator= ( const Dictionary< _Key, _Value > &  rhs)

Definition at line 85 of file Dictionary.hpp.

Here is the call graph for this function:

template<class _Key , class _Value >
Dictionary< _Key, _Value > & HCE::handlers::Dictionary< _Key, _Value >::operator= ( Dictionary< _Key, _Value > &&  rhs)

Definition at line 94 of file Dictionary.hpp.

template<class _Key, class _Value>
void HCE::handlers::Dictionary< _Key, _Value >::setItem ( const _Key &  key,
const _Value &  value 
)

Definition at line 145 of file Dictionary.hpp.

template<class _Key, class _Value>
void HCE::handlers::Dictionary< _Key, _Value >::setItem ( const _Key &  key,
_Value &&  value 
)

Definition at line 150 of file Dictionary.hpp.

Member Data Documentation

template<typename _Key = std::string, typename _Value = unsigned int>
Items HCE::handlers::Dictionary< _Key, _Value >::items
protected

Definition at line 70 of file Dictionary.hpp.


The documentation for this class was generated from the following file: