ome-files  0.5.0
Public Member Functions | Public Attributes | List of all members
ome::files::detail::VariantPixelBufferReadVisitor< charT, traits > Struct Template Reference

Read data into a PixelBuffer. More...

#include <ome/files/VariantPixelBuffer.h>

+ Inheritance diagram for ome::files::detail::VariantPixelBufferReadVisitor< charT, traits >:
+ Collaboration diagram for ome::files::detail::VariantPixelBufferReadVisitor< charT, traits >:

Public Member Functions

 VariantPixelBufferReadVisitor (std::basic_istream< charT, traits > &stream)
 Constructor. More...
 
template<typename T >
void operator() (T &v) const
 Read data into specific PixelBuffer type. More...
 

Public Attributes

std::basic_istream< charT, traits > & stream
 The input stream.
 

Detailed Description

template<class charT, class traits>
struct ome::files::detail::VariantPixelBufferReadVisitor< charT, traits >

Read data into a PixelBuffer.

Constructor & Destructor Documentation

◆ VariantPixelBufferReadVisitor()

template<class charT, class traits>
ome::files::detail::VariantPixelBufferReadVisitor< charT, traits >::VariantPixelBufferReadVisitor ( std::basic_istream< charT, traits > &  stream)
inline

Constructor.

Parameters
streamthe input stream.

Member Function Documentation

◆ operator()()

template<class charT, class traits>
template<typename T >
void ome::files::detail::VariantPixelBufferReadVisitor< charT, traits >::operator() ( T &  v) const
inline

Read data into specific PixelBuffer type.

Parameters
vthe PixelBuffer to use.

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