vigra - PropertyMap< KEYTYPE, MAPPEDTYPE, ContainerTag > Class Template Reference

[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

| PropertyMap< KEYTYPE, MAPPEDTYPE, ContainerTag > Class Template Reference |

The PropertyMap is used to store Node or Arc information of graphs. More...

`#include <vigra/graphs.hxx>`

## Detailed Description

### template<typename KEYTYPE, typename MAPPEDTYPE, ContainerTag = MapTag>
class vigra::PropertyMap< KEYTYPE, MAPPEDTYPE, ContainerTag >

The PropertyMap is used to store Node or Arc information of graphs.

Template Parameters

  <KEYTYPE> | the key type
  <MAPPEDTYPE> | the mapped type
  <ContainerTag | = MapTag> whether to use a map or a vector as underlying storage

Note
  In contrast to std::map, operator[] does not insert elements. Use insert() instead. If ContainerTag == MapTag: at() and operator[] behave like std::map::at(). If ContainerTag == IndexVectorTag: at() behaves like std::map::at(). operator[] does not check if the key exists.

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

- vigra/graphs.hxx

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany | html generated using doxygen and Python vigra 1.11.1 (Fri May 19 2017)