27 #include "cif++/row.hpp" 34 const item_handle item_handle::s_null_item;
37 item_handle::item_handle()
38 : m_column(
std::numeric_limits<uint16_t>::
max())
39 , m_row_handle(s_null_row_handle)
43 std::string_view item_handle::text()
const 45 if (not m_row_handle.empty())
47 auto iv = m_row_handle.m_row->get(m_column);
55 void item_handle::assign_value(
const item &v)
57 assert(not m_row_handle.empty());
58 m_row_handle.assign(m_column, v.value(),
true);
61 void item_handle::swap(item_handle &
b)
63 assert(m_column == b.m_column);
65 m_row_handle.swap(m_column, b.m_row_handle);
void max(Image< double > &op1, const Image< double > &op2)
row_handle s_null_row_handle