paludis  Version 2.0.0
List of all members
paludis::Map< K_, V_, C_ > Class Template Reference

#include <map.hh>

Basic operations

 Map ()
 
 ~Map ()
 
 Map (const Map &)=delete
 
Mapoperator= (const Map &)=delete
 

Standard library typedefs

typedef std::pair< const K_, V_ > value_type
 
typedef std::pair< const K_, V_ > & reference
 
typedef const reference & const_reference
 

Iteration

typedef MapConstIteratorTag
< K_, V_, C_ > 
ConstIteratorTag
 
typedef WrappedForwardIterator
< ConstIteratorTag, const
std::pair< const K_, V_ > > 
ConstIterator
 
typedef MapInserterTag< K_, V_,
C_ > 
InserterTag
 
typedef WrappedOutputIterator
< InserterTag, std::pair
< const K_, V_ > > 
Inserter
 
ConstIterator begin () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
ConstIterator end () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
ConstIterator find (const K_ &) const PALUDIS_ATTRIBUTE((warn_unused_result))
 
Inserter inserter () PALUDIS_ATTRIBUTE((warn_unused_result))
 

Content information

bool empty () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
unsigned size () const PALUDIS_ATTRIBUTE((warn_unused_result))
 

Content modification

void insert (const K_ &, const V_ &)
 
void erase (const ConstIterator &)
 
void erase (const K_ &)
 

Detailed Description

template<typename K_, typename V_, typename C_ = DefaultMapComparator<K_>>
class paludis::Map< K_, V_, C_ >

A wrapper around a map, avoiding the need to include lots of STL bloat everywhere.

Since
0.26
Examples:
example_metadata_key.cc.

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