#pragma once #include #include "vfxpreopenexr-errors-private.h" #include #include #include inline std::set const & to_cpp_ref( std_set_string_t const * rhs) { return *(reinterpret_cast const * >(rhs)); } inline std::set & to_cpp_ref( std_set_string_t * rhs) { return *(reinterpret_cast * >(rhs)); } inline std::set const * to_cpp( std_set_string_t const * rhs) { return reinterpret_cast const * >(rhs); } inline std::set * to_cpp( std_set_string_t * rhs) { return reinterpret_cast * >(rhs); } inline void to_c( std_set_string_t const * * lhs , std::set const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( std_set_string_t const * * lhs , std::set const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( std_set_string_t * * lhs , std::set & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( std_set_string_t * * lhs , std::set * rhs) { *(lhs) = reinterpret_cast(rhs); } inline std::set::const_iterator const & to_cpp_ref( std_set_string_iterator_t const * rhs) { return *(reinterpret_cast::const_iterator const * >(rhs)); } inline std::set::const_iterator & to_cpp_ref( std_set_string_iterator_t * rhs) { return *(reinterpret_cast::const_iterator * >(rhs)); } inline std::set::const_iterator const * to_cpp( std_set_string_iterator_t const * rhs) { return reinterpret_cast::const_iterator const * >(rhs); } inline std::set::const_iterator * to_cpp( std_set_string_iterator_t * rhs) { return reinterpret_cast::const_iterator * >(rhs); } inline void to_c( std_set_string_iterator_t const * * lhs , std::set::const_iterator const & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( std_set_string_iterator_t const * * lhs , std::set::const_iterator const * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c( std_set_string_iterator_t * * lhs , std::set::const_iterator & rhs) { *(lhs) = reinterpret_cast(&(rhs)); } inline void to_c( std_set_string_iterator_t * * lhs , std::set::const_iterator * rhs) { *(lhs) = reinterpret_cast(rhs); } inline void to_c_copy( std_set_string_iterator_t * lhs , std::set::const_iterator const & rhs) { memcpy(lhs, &(rhs), sizeof(*(lhs))); }