Visitor template for flattening of MetadataMap vector values.
More...
#include <ome/bioformats/MetadataMap.h>
Visitor template for flattening of MetadataMap vector values.
Constructor.
- Parameters
-
map | the map in which to set flattened elements. |
key | the key being output. |
template<typename T >
void ome::bioformats::detail::MetadataMapFlattenVisitor::operator() |
( |
const std::vector< T > & |
c | ) |
const |
|
inline |
Output a vector value of arbitrary type.
Each value will be set as a separate entry of with the a #n
suffix added to the key, where n
is the index into the vector, indexed from 1. The suffix will be left zero-padded to the width of the largest suffix.
- Parameters
-
c | the container values to output. |
References ome::bioformats::MetadataMap::set().
template<typename T >
void ome::bioformats::detail::MetadataMapFlattenVisitor::operator() |
( |
const T & |
v | ) |
const |
|
inline |
The documentation for this struct was generated from the following file: