bioformats  5.1.0
Public Member Functions | List of all members
ome::bioformats::detail::VariantPixelBufferVisitor< T > Struct Template Reference

Find a PixelBuffer data array of a specific pixel type. More...

#include <ome/bioformats/VariantPixelBuffer.h>

+ Inheritance diagram for ome::bioformats::detail::VariantPixelBufferVisitor< T >:
+ Collaboration diagram for ome::bioformats::detail::VariantPixelBufferVisitor< T >:

Public Member Functions

PixelBuffer< T > & operator() (ome::compat::shared_ptr< PixelBuffer< T > > &v) const
 PixelBuffer of correct type. More...
 
template<typename U >
PixelBuffer< T > & operator() (U &) const
 PixelBuffer of incorrect type. More...
 

Detailed Description

template<typename T>
struct ome::bioformats::detail::VariantPixelBufferVisitor< T >

Find a PixelBuffer data array of a specific pixel type.

Member Function Documentation

template<typename T>
PixelBuffer<T>& ome::bioformats::detail::VariantPixelBufferVisitor< T >::operator() ( ome::compat::shared_ptr< PixelBuffer< T > > &  v) const
inline

PixelBuffer of correct type.

Parameters
vthe value to find.
Returns
a pointer to the data array.
Exceptions
ifthe PixelBuffer is null.
template<typename T>
template<typename U >
PixelBuffer<T>& ome::bioformats::detail::VariantPixelBufferVisitor< T >::operator() ( U &  ) const
inline

PixelBuffer of incorrect type.

Exceptions
ifused.
Returns
a pointer to the data array.

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