Flag used by the InputFieldReordering template.
No.newlineWasRemoved is a template parameter to throwIfWindowsNewlineOnUnix. A Yes value indicates the Unix newline was already removed, as might be done via std.File.byLine or similar mechanism.
Flag used by InputSourceRange to determine if the header line should be when opening a file.
ByLineSource is a class of objects produced by iterating over an ByLineSourceRange.
ByLineSourceRange is an input range that iterates over a set of input files. It provides bufferedByLine access to each file.
InputFieldReordering - Move select fields from an input line to an output array, reordering along the way.
InputSource is a class of objects produced by iterating over an InputSourceRange.
InputSourceRange is an input range that iterates over a set of input files.
bufferedByLine is a performance enhancement over std.stdio.File.byLine. It works by reading a large buffer from the input stream rather than just a single line.
byLineSourceRange is a helper function for creating new byLineSourceRange objects.
getTsvFieldValue extracts the value of a single field from a delimited text string.
inputSourceRange is a helper function for creating new InputSourceRange objects.
joinAppend performs a join operation on an input range, appending the results to an output range.
throwIfWindowsLineNewlineOnUnix is used to throw an exception if a Windows/DOS line ending is found on a build compiled for a Unix platform. This is used by the TSV Utilities to detect Window/DOS line endings and terminate processing with an error message to the user.
BufferedOutputRange is a performance enhancement over writing directly to an output stream. It holds a File open for write or an OutputRange. Ouput is accumulated in an internal buffer and written to the output stream as a block.
isFlushableOutputRange returns true if R is an output range with a flush member.
Utilities used by tsv-utils applications. InputFieldReordering, BufferedOutputRange, and a several others.
Utilities in this file:
Copyright (c) 2015-2020, eBay Inc. Initially written by Jon Degenhardt