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

Method setNextString

plugins/e57/libE57Format/src/SourceDestBufferImpl.cpp:952–970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952void SourceDestBufferImpl::setNextString( const ustring &value )
953{
954 /// don't checkImageFileOpen
955
956 if ( memoryRepresentation_ != UString )
957 {
958 throw E57_EXCEPTION2( ErrorExpectingUString, "pathName=" + pathName_ );
959 }
960
961 /// Verify have room.
962 if ( nextIndex_ >= capacity_ )
963 {
964 throw E57_EXCEPTION2( ErrorInternal, "pathName=" + pathName_ );
965 }
966
967 /// Assign to already initialized element in vector
968 ( *ustrings_ )[nextIndex_] = value;
969 nextIndex_++;
970}
971
972void SourceDestBufferImpl::checkCompatible(
973 const std::shared_ptr<SourceDestBufferImpl> &newBuf ) const

Callers 1

inputProcessAlignedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected