! @brief Designate buffers to transfer data to/from a CompressedVectorNode in a block. @param [in] destImageFile The ImageFile where the new node will eventually be stored. @param [in] pathName The pathname of the field in CompressedVectorNode that will transfer data to/from. @param [in] b The caller allocated memory buffer. @param [in] capacity The total number of memory elements in buffer @a b.
| 160 | CompressedVectorWriter::write(std::vector<SourceDestBuffer>&) |
| 161 | */ |
| 162 | SourceDestBuffer::SourceDestBuffer( const ImageFile &destImageFile, const ustring &pathName, |
| 163 | int8_t *b, const size_t capacity, bool doConversion, |
| 164 | bool doScaling, size_t stride ) : |
| 165 | impl_( new SourceDestBufferImpl( destImageFile.impl(), pathName, capacity, doConversion, |
| 166 | doScaling ) ) |
| 167 | { |
| 168 | impl_->setTypeInfo<int8_t>( b, stride ); |
| 169 | } |
| 170 | |
| 171 | /// @overload |
| 172 | SourceDestBuffer::SourceDestBuffer( const ImageFile &destImageFile, const ustring &pathName, |
nothing calls this directly
no outgoing calls
no test coverage detected