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

Method CompressedVectorNode

plugins/e57/libE57Format/src/CompressedVectorNode.cpp:210–218  ·  view source on GitHub ↗

! @brief Create an empty CompressedVectorNode, for writing, that will store records specified by the prototype. @param [in] destImageFile The ImageFile where the new node will eventually be stored. @param [in] prototype A tree that describes the fields in each record of the CompressedVectorNode. @param [in] codecs A VectorNode describing which codecs should be used for each field described in the

Source from the content-addressed store, hash-verified

208@see SourceDestBuffer, Node, CompressedVectorNode::reader, CompressedVectorNode::writer
209*/
210CompressedVectorNode::CompressedVectorNode( const ImageFile &destImageFile, const Node &prototype,
211 const VectorNode &codecs ) :
212 impl_( new CompressedVectorNodeImpl( destImageFile.impl() ) )
213{
214 // Because of shared_ptr quirks, can't set prototype,codecs in CompressedVectorNodeImpl(), so set
215 // it afterwards
216 impl_->setPrototype( prototype.impl() );
217 impl_->setCodecs( codecs.impl() );
218}
219
220/*!
221@brief Is this a root node.

Callers

nothing calls this directly

Calls 4

setPrototypeMethod · 0.80
setCodecsMethod · 0.80
toStringFunction · 0.70
typeMethod · 0.45

Tested by

no test coverage detected