avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | Protected Attributes | Friends | List of all members
PixSampleFmtWrapper< WrapperClass, T, NoneValue > Struct Template Reference

#include <ffmpeg.h>

Public Member Functions

constexpr PixSampleFmtWrapper ()=default
 
constexpr PixSampleFmtWrapper (T fmt) noexcept
 
 operator T () const noexcept
 
get () const noexcept
 
 operator T& () noexcept
 
WrapperClass & operator= (T fmt) noexcept
 
void set (T fmt) noexcept
 

Protected Attributes

m_fmt = NoneValue
 

Friends

std::ostream & operator<< (std::ostream &ost, WrapperClass fmt)
 

Constructor & Destructor Documentation

◆ PixSampleFmtWrapper() [1/2]

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
constexpr PixSampleFmtWrapper< WrapperClass, T, NoneValue >::PixSampleFmtWrapper ( )
constexprdefault

◆ PixSampleFmtWrapper() [2/2]

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
constexpr PixSampleFmtWrapper< WrapperClass, T, NoneValue >::PixSampleFmtWrapper ( fmt)
inlineconstexprnoexcept

Member Function Documentation

◆ get()

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
T PixSampleFmtWrapper< WrapperClass, T, NoneValue >::get ( ) const
inlinenoexcept

◆ operator T()

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
PixSampleFmtWrapper< WrapperClass, T, NoneValue >::operator T ( ) const
inlinenoexcept

◆ operator T&()

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
PixSampleFmtWrapper< WrapperClass, T, NoneValue >::operator T& ( )
inlinenoexcept

◆ operator=()

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
WrapperClass& PixSampleFmtWrapper< WrapperClass, T, NoneValue >::operator= ( fmt)
inlinenoexcept

◆ set()

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
void PixSampleFmtWrapper< WrapperClass, T, NoneValue >::set ( fmt)
inlinenoexcept

Friends And Related Function Documentation

◆ operator<<

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
std::ostream& operator<< ( std::ostream &  ost,
WrapperClass  fmt 
)
friend

Member Data Documentation

◆ m_fmt

template<typename WrapperClass , typename T , T NoneValue = static_cast<T>(-1)>
T PixSampleFmtWrapper< WrapperClass, T, NoneValue >::m_fmt = NoneValue
protected

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