ome-files  0.5.0
Public Member Functions | List of all members
ome::files::detail::VariantPixelBufferVisitor< T > Struct Template Reference

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

#include <ome/files/VariantPixelBuffer.h>

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

Public Member Functions

PixelBuffer< T > * operator() (std::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::files::detail::VariantPixelBufferVisitor< T >

Find a PixelBuffer data array of a specific pixel type.

Member Function Documentation

◆ operator()() [1/2]

template<typename T>
PixelBuffer<T>* ome::files::detail::VariantPixelBufferVisitor< T >::operator() ( std::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.

◆ operator()() [2/2]

template<typename T>
template<typename U >
PixelBuffer<T>* ome::files::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: