bioformats  5.1.0
Public Member Functions | Public Attributes | List of all members
ome::bioformats::detail::VariantPixelBufferAssignVisitor< InputIterator > Struct Template Reference

Assign a PixelBuffer from an input iterator. More...

#include <ome/bioformats/VariantPixelBuffer.h>

+ Inheritance diagram for ome::bioformats::detail::VariantPixelBufferAssignVisitor< InputIterator >:
+ Collaboration diagram for ome::bioformats::detail::VariantPixelBufferAssignVisitor< InputIterator >:

Public Member Functions

 VariantPixelBufferAssignVisitor (InputIterator begin, InputIterator end)
 Constructor. More...
 
void operator() (ome::compat::shared_ptr< PixelBuffer< typename std::iterator_traits< InputIterator >::value_type > > &v) const
 PixelBuffer of correct type. More...
 
template<typename T >
void operator() (T &) const
 PixelBuffer of incorrect type. More...
 

Public Attributes

InputIterator begin
 Input start.
 
InputIterator end
 Input end.
 

Detailed Description

template<typename InputIterator>
struct ome::bioformats::detail::VariantPixelBufferAssignVisitor< InputIterator >

Assign a PixelBuffer from an input iterator.

Constructor & Destructor Documentation

template<typename InputIterator>
ome::bioformats::detail::VariantPixelBufferAssignVisitor< InputIterator >::VariantPixelBufferAssignVisitor ( InputIterator  begin,
InputIterator  end 
)
inline

Constructor.

Parameters
beginthe start of input.
endthe end of input.

Member Function Documentation

template<typename InputIterator>
void ome::bioformats::detail::VariantPixelBufferAssignVisitor< InputIterator >::operator() ( ome::compat::shared_ptr< PixelBuffer< typename std::iterator_traits< InputIterator >::value_type > > &  v) const
inline

PixelBuffer of correct type.

Parameters
vthe PixelBuffer to assign to.
Exceptions
ifthe PixelBuffer is null or the PixelBuffer's data array is null.
template<typename InputIterator>
template<typename T >
void ome::bioformats::detail::VariantPixelBufferAssignVisitor< InputIterator >::operator() ( T &  ) const
inline

PixelBuffer of incorrect type.

Exceptions
ifused.

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