| 71 | } |
| 72 | |
| 73 | void image_data_reader::copy_members(const image_data_reader& rhs) |
| 74 | { |
| 75 | if (this == &rhs) { |
| 76 | return; |
| 77 | } |
| 78 | |
| 79 | if (rhs.m_data_store != nullptr) { |
| 80 | m_data_store = new data_store_conduit(rhs.get_data_store()); |
| 81 | m_data_store->set_data_reader_ptr(this); |
| 82 | } |
| 83 | |
| 84 | m_image_dir = rhs.m_image_dir; |
| 85 | m_labels = rhs.m_labels; |
| 86 | m_image_width = rhs.m_image_width; |
| 87 | m_image_height = rhs.m_image_height; |
| 88 | m_image_num_channels = rhs.m_image_num_channels; |
| 89 | m_image_linearized_size = rhs.m_image_linearized_size; |
| 90 | m_num_labels = rhs.m_num_labels; |
| 91 | m_sample_list.copy(rhs.m_sample_list); |
| 92 | // m_thread_cv_buffer = rhs.m_thread_cv_buffer |
| 93 | } |
| 94 | |
| 95 | void image_data_reader::set_linearized_image_size() |
| 96 | { |
nothing calls this directly
no test coverage detected