SummarizerBase

SummarizerBase performs work shared by all sumarizers, most everything except for handling of unique keys.

The base class handles creation, allocates storage for Operators and SharedFieldValues, and similar. Derived classes deal primarily with unique keys and the associated Calculators and UniqueKeyValuesLists.

Constructors

this
this(char inputFieldDelimiter, MissingFieldPolicy missingPolicy)

Undocumented in source.

Members

Functions

inputFieldDelimiter
char inputFieldDelimiter()

Undocumented in source. Be warned that the author may not have intended to support it.

makeUniqueKeyValuesLists
UniqueKeyValuesLists makeUniqueKeyValuesLists()

Undocumented in source. Be warned that the author may not have intended to support it.

processHeaderLine
bool processHeaderLine(char[][] lineFields)

Called to process the header line of each file. Returns true if it was the first header line processed (used when reading multiple files).

processNextLine
void processNextLine(char[][] lineFields)

Undocumented in source.

setOperators
void setOperators(InputRange!Operator operators)

Sets the Operators used by the Summarizer. Called after construction.

writeSummaryBody
void writeSummaryBody(OutputRange outputStream, SummarizerPrintOptions )

Undocumented in source.

writeSummaryHeader
void writeSummaryHeader(OutputRange outputStream, SummarizerPrintOptions )

Undocumented in source.

Variables

_missingPolicy
MissingFieldPolicy _missingPolicy;

Undocumented in source.

_numOperators
size_t _numOperators;

Undocumented in source.

_operators
DList!Operator _operators;

Undocumented in source.

Meta