Go to the documentation of this file.
35 template<
class Key,
class T,
class Compare = std::less<Key> >
38 public std::map<Key, T, Compare>
44 using mapType = std::map<Key, T, Compare>;
54 using initList =
typename std::initializer_list<T>;
56 using keyType =
typename mapType::key_type;
92 mapType::operator=(rhs);
99 mapType::operator=( std::move(rhs));
105 return makeUnique<MapType>(*
this);
132 const std::pair<constIterator, bool>
findIf(
const keyType& k)
const;
typename mapType::const_reference constReference
typename mapType::iterator iterator
std::map< pFlow::IOobject *, T, std::less< pFlow::IOobject * > > mapType
TypeInfoTemplateNV11("Map", Key)
MapType & operator=(const MapType &rhs)
typename std::initializer_list< T > initList
iOstream & printKeys(iOstream &os, const wordHashMap< T > &m)
uniquePtr< MapType > clone() const
typename mapType::mapped_type mappedType
typename mapType::key_type keyType
typename mapType::reference reference
typename mapType::const_iterator constIterator
bool insertIf(const keyType &k, const mappedType &v)
typename mapType::value_type valueType
std::pair< iterator, bool > findIf(const keyType &k)
Map< Key, T, Compare > MapType
MapType * clonePtr() const
bool search(const keyType k) const
Interface class for any output stream.
MapType & operator=(MapType &&rhs)