Visitor template for output of MetadataMap values to an ostream.
More...
#include <ome/bioformats/MetadataMap.h>
Visitor template for output of MetadataMap values to an ostream.
ome::bioformats::detail::MetadataMapOStreamVisitor::MetadataMapOStreamVisitor |
( |
std::ostream & |
os, |
|
|
const MetadataMap::key_type & |
key |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
os | the output stream to output to. |
key | the key being output. |
template<typename T >
void ome::bioformats::detail::MetadataMapOStreamVisitor::operator() |
( |
const std::vector< T > & |
c | ) |
const |
|
inline |
Output a vector value of arbitrary type.
Each value will be output as a separate line of the form "key #n = value"
, 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. |
template<typename T >
void ome::bioformats::detail::MetadataMapOStreamVisitor::operator() |
( |
const T & |
v | ) |
const |
|
inline |
Output a scalar value of arbitrary type.
The value will be output as a separate line of the form "key = value"
.
- Parameters
-
The documentation for this struct was generated from the following file: