MCPcopy Create free account
hub / github.com/PDAL/PDAL / SourceDestBuffer

Method SourceDestBuffer

plugins/e57/libE57Format/src/SourceDestBuffer.cpp:162–169  ·  view source on GitHub ↗

! @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.

Source from the content-addressed store, hash-verified

160CompressedVectorWriter::write(std::vector<SourceDestBuffer>&)
161*/
162SourceDestBuffer::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
172SourceDestBuffer::SourceDestBuffer( const ImageFile &destImageFile, const ustring &pathName,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected