#pragma once #include #include "vfxpreopenexr-errors-private.h" #include #include inline Imf_3_0::FlatImageChannel const & to_cpp_ref( Imf_FlatImageChannel_t const * rhs) { return *(reinterpret_cast(rhs)); } inline Imf_3_0::FlatImageChannel & to_cpp_ref( Imf_FlatImageChannel_t * rhs) { return *(reinterpret_cast(rhs)); } inline Imf_3_0::FlatImageChannel const * to_cpp( Imf_FlatImageChannel_t const * rhs) { return reinterpret_cast(rhs); } inline Imf_3_0::FlatImageChannel * to_cpp( Imf_FlatImageChannel_t * rhs) { return reinterpret_cast(rhs); } inline void to_c( Imf_FlatImageChannel_t const * * lhs , Imf_3_0::FlatImageChannel const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatImageChannel_t const * * lhs , Imf_3_0::FlatImageChannel const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( Imf_FlatImageChannel_t * * lhs , Imf_3_0::FlatImageChannel & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatImageChannel_t * * lhs , Imf_3_0::FlatImageChannel * rhs) { *(lhs) = reinterpret_cast(rhs); } inline Imf_3_0::TypedFlatImageChannel const & to_cpp_ref( Imf_FlatHalfChannel_t const * rhs) { return *(reinterpret_cast const * >(rhs)); } inline Imf_3_0::TypedFlatImageChannel & to_cpp_ref( Imf_FlatHalfChannel_t * rhs) { return *(reinterpret_cast * >(rhs)); } inline Imf_3_0::TypedFlatImageChannel const * to_cpp( Imf_FlatHalfChannel_t const * rhs) { return reinterpret_cast const * >(rhs); } inline Imf_3_0::TypedFlatImageChannel * to_cpp( Imf_FlatHalfChannel_t * rhs) { return reinterpret_cast * >(rhs); } inline void to_c( Imf_FlatHalfChannel_t const * * lhs , Imf_3_0::TypedFlatImageChannel const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatHalfChannel_t const * * lhs , Imf_3_0::TypedFlatImageChannel const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( Imf_FlatHalfChannel_t * * lhs , Imf_3_0::TypedFlatImageChannel & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatHalfChannel_t * * lhs , Imf_3_0::TypedFlatImageChannel * rhs) { *(lhs) = reinterpret_cast(rhs); } inline Imf_3_0::TypedFlatImageChannel const & to_cpp_ref( Imf_FlatFloatChannel_t const * rhs) { return *(reinterpret_cast const * >(rhs)); } inline Imf_3_0::TypedFlatImageChannel & to_cpp_ref( Imf_FlatFloatChannel_t * rhs) { return *(reinterpret_cast * >(rhs)); } inline Imf_3_0::TypedFlatImageChannel const * to_cpp( Imf_FlatFloatChannel_t const * rhs) { return reinterpret_cast const * >(rhs); } inline Imf_3_0::TypedFlatImageChannel * to_cpp( Imf_FlatFloatChannel_t * rhs) { return reinterpret_cast * >(rhs); } inline void to_c( Imf_FlatFloatChannel_t const * * lhs , Imf_3_0::TypedFlatImageChannel const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatFloatChannel_t const * * lhs , Imf_3_0::TypedFlatImageChannel const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( Imf_FlatFloatChannel_t * * lhs , Imf_3_0::TypedFlatImageChannel & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatFloatChannel_t * * lhs , Imf_3_0::TypedFlatImageChannel * rhs) { *(lhs) = reinterpret_cast(rhs); } inline Imf_3_0::TypedFlatImageChannel const & to_cpp_ref( Imf_FlatUIntChannel_t const * rhs) { return *(reinterpret_cast const * >(rhs)); } inline Imf_3_0::TypedFlatImageChannel & to_cpp_ref( Imf_FlatUIntChannel_t * rhs) { return *(reinterpret_cast * >(rhs)); } inline Imf_3_0::TypedFlatImageChannel const * to_cpp( Imf_FlatUIntChannel_t const * rhs) { return reinterpret_cast const * >(rhs); } inline Imf_3_0::TypedFlatImageChannel * to_cpp( Imf_FlatUIntChannel_t * rhs) { return reinterpret_cast * >(rhs); } inline void to_c( Imf_FlatUIntChannel_t const * * lhs , Imf_3_0::TypedFlatImageChannel const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatUIntChannel_t const * * lhs , Imf_3_0::TypedFlatImageChannel const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( Imf_FlatUIntChannel_t * * lhs , Imf_3_0::TypedFlatImageChannel & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( Imf_FlatUIntChannel_t * * lhs , Imf_3_0::TypedFlatImageChannel * rhs) { *(lhs) = reinterpret_cast(rhs); }