Inheritance diagram for MapPtr< Container, Key, T >:Public Types | |
| using | MapPtrType = MapPtr< Container, Key, T > |
| using | mapType = Container< Key, T * > |
| using | keyType = typename mapType::key_type |
| using | mappedType = typename mapType::mapped_type |
| using | valueType = typename mapType::value_type |
| using | reference = typename mapType::reference |
| using | constReference = typename mapType::const_reference |
| using | iterator = typename mapType::iterator |
| using | constIterator = typename mapType::const_iterator |
Public Member Functions | |
| TypeInfoTemplateNV11 ("MapPtr", Key) | |
| MapPtr () | |
| MapPtr (const MapPtrType &src) | |
| MapPtrType & | operator= (const MapPtrType &rhs) |
| MapPtr (MapPtrType &&src) | |
| MapPtrType & | operator= (MapPtrType &&rhs) |
| uniquePtr< MapPtrType > | clone () const |
| MapPtrType * | clonePtr () const |
| ~MapPtr () | |
| bool | insertReplace (const keyType &key, T *ptr) |
| bool | insertReplace (const keyType &key, uniquePtr< T > &ptr) |
| template<typename... Args> | |
| bool | insertReplaceSafe (const keyType &key, Args &&... args) |
| T * | set (const keyType &key, T *ptr) |
| uniquePtr< T > | set (const keyType &key, uniquePtr< T > &ptr) |
| template<typename... Args> | |
| uniquePtr< T > | setSafe (const keyType &key, Args &&... args) |
| T & | operator[] (const keyType &key) |
| const T & | operator[] (const keyType &key) const |
| bool | search (const keyType k) const |
| std::pair< const T *, bool > | find (const keyType &k) const |
| std::pair< T *, bool > | find (const keyType &k) |
| uniquePtr< T > | release (const keyType &k) |
| void | erase (const keyType &key) |
| void | clear () |
| size_t | size () const |
| auto | empty () const |
| iterator | begin () |
| constIterator | begin () const |
| iterator | end () |
| constIterator | end () const |
| template<typename... Args> | |
| pFlow::uniquePtr< T > | setSafe (const keyType &key, Args &&... args) |
Static Public Member Functions | |
| template<typename... Args> | |
| static uniquePtr< T > | makeSafe (Args &&... args) |
Protected Member Functions | |
| bool | copy (const MapPtrType &src) |
| T * | findPtr (const keyType &k) |
| const T * | findPtr (const keyType &k) const |
Protected Attributes | |
| Container< Key, T * > | map_ |
Definition at line 39 of file MapPtr.hpp.
| using MapPtrType = MapPtr<Container, Key, T> |
Definition at line 44 of file MapPtr.hpp.
| using mapType = Container<Key, T*> |
Definition at line 46 of file MapPtr.hpp.
| using keyType = typename mapType::key_type |
Definition at line 48 of file MapPtr.hpp.
| using mappedType = typename mapType::mapped_type |
Definition at line 50 of file MapPtr.hpp.
| using valueType = typename mapType::value_type |
Definition at line 52 of file MapPtr.hpp.
| using reference = typename mapType::reference |
Definition at line 54 of file MapPtr.hpp.
| using constReference = typename mapType::const_reference |
Definition at line 56 of file MapPtr.hpp.
| using iterator = typename mapType::iterator |
Definition at line 58 of file MapPtr.hpp.
| using constIterator = typename mapType::const_iterator |
Definition at line 60 of file MapPtr.hpp.
|
inline |
Definition at line 92 of file MapPtr.hpp.
| MapPtr | ( | const MapPtrType & | src | ) |
Definition at line 77 of file MapPtrI.hpp.
| MapPtr | ( | MapPtrType && | src | ) |
Definition at line 119 of file MapPtrI.hpp.
|
inline |
Definition at line 127 of file MapPtr.hpp.
|
inlinestatic |
Definition at line 63 of file MapPtr.hpp.
|
protected |
Definition at line 24 of file MapPtrI.hpp.
|
protected |
Definition at line 53 of file MapPtrI.hpp.
|
protected |
Definition at line 65 of file MapPtrI.hpp.
| TypeInfoTemplateNV11 | ( | "MapPtr< Container, Key, T >" | , |
| Key | |||
| ) |
| pFlow::MapPtr< Container, Key, T > & operator= | ( | const MapPtrType & | rhs | ) |
Definition at line 93 of file MapPtrI.hpp.
| pFlow::MapPtr< Container, Key, T > & operator= | ( | MapPtrType && | rhs | ) |
Definition at line 128 of file MapPtrI.hpp.
|
inline |
Definition at line 117 of file MapPtr.hpp.
|
inline |
Definition at line 122 of file MapPtr.hpp.
| bool insertReplace | ( | const keyType & | key, |
| T * | ptr | ||
| ) |
Definition at line 142 of file MapPtrI.hpp.
Definition at line 157 of file MapPtrI.hpp.
| bool insertReplaceSafe | ( | const keyType & | key, |
| Args &&... | args | ||
| ) |
Definition at line 175 of file MapPtrI.hpp.
| T * set | ( | const keyType & | key, |
| T * | ptr | ||
| ) |
Definition at line 187 of file MapPtrI.hpp.
| pFlow::uniquePtr< T > set | ( | const keyType & | key, |
| uniquePtr< T > & | ptr | ||
| ) |
Definition at line 200 of file MapPtrI.hpp.
| T & operator[] | ( | const keyType & | key | ) |
Definition at line 225 of file MapPtrI.hpp.
| const T & operator[] | ( | const keyType & | key | ) | const |
Definition at line 242 of file MapPtrI.hpp.
| bool search | ( | const keyType | k | ) | const |
Definition at line 260 of file MapPtrI.hpp.
| std::pair< const T *, bool > find | ( | const keyType & | k | ) | const |
Definition at line 271 of file MapPtrI.hpp.
| std::pair< T *, bool > find | ( | const keyType & | k | ) |
Definition at line 283 of file MapPtrI.hpp.
| pFlow::uniquePtr< T > release | ( | const keyType & | k | ) |
Definition at line 294 of file MapPtrI.hpp.
| void erase | ( | const keyType & | key | ) |
Definition at line 306 of file MapPtrI.hpp.
| void clear |
Definition at line 320 of file MapPtrI.hpp.
Referenced by MapPtr< pFlow::iEntry >::~MapPtr().
Here is the caller graph for this function:
|
inline |
Definition at line 190 of file MapPtr.hpp.
|
inline |
Definition at line 196 of file MapPtr.hpp.
|
inline |
Definition at line 202 of file MapPtr.hpp.
Referenced by MapPtr< pFlow::iEntry >::copy().
Here is the caller graph for this function:
|
inline |
Definition at line 207 of file MapPtr.hpp.
|
inline |
Definition at line 212 of file MapPtr.hpp.
Referenced by MapPtr< pFlow::iEntry >::copy().
Here is the caller graph for this function:
|
inline |
Definition at line 217 of file MapPtr.hpp.
| pFlow::uniquePtr<T> setSafe | ( | const keyType & | key, |
| Args &&... | args | ||
| ) |
Definition at line 214 of file MapPtrI.hpp.
|
protected |
Definition at line 71 of file MapPtr.hpp.
Referenced by MapPtr< pFlow::iEntry >::begin(), MapPtr< pFlow::iEntry >::empty(), MapPtr< pFlow::iEntry >::end(), and MapPtr< pFlow::iEntry >::size().