bioformats  5.1.8
Public Member Functions | List of all members
ome::bioformats::detail::VariantPixelBufferConstVisitor< 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::VariantPixelBufferConstVisitor< T >:
+ Collaboration diagram for ome::bioformats::detail::VariantPixelBufferConstVisitor< T >:

Public Member Functions

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

Detailed Description

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

Find a PixelBuffer data array of a specific pixel type.

Member Function Documentation

template<typename T>
const PixelBuffer<T>& ome::bioformats::detail::VariantPixelBufferConstVisitor< T >::operator() ( const 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 >
const PixelBuffer<T>& ome::bioformats::detail::VariantPixelBufferConstVisitor< 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: