![]() |
Rosetta
3.7
|
A set of useful classes to map between two enumerations. So far, only a subset mapping is implemented. More...
#include <utility/integer_mapping.fwd.hh>
#include <utility/vector1.hh>
#include <utility/pointer/ReferenceCount.hh>
#include <platform/types.hh>
Classes | |
class | utility::subset_mapping |
This class handles the bookeeping to map between a set of integer ids in the "source" enumeration to a subset of those ids – the destination enumartion. Elements in the source enumeration that do not map to elements in the destination enumeration are represented by the value 0. Both enumerations should count from 1. Once the class has been initialized, this class offers O(1) mapping between elements in the enumerations. More... | |
Namespaces | |
utility | |
comment 0 | |
A set of useful classes to map between two enumerations. So far, only a subset mapping is implemented.