34 hash<string, hash<string, list<hash<auto>>>> m_resolve_by_rule;
36 hash<string, list<hash<auto>>> m_resolve_by_rule_all;
40 AbstractLineIterator lineIterator;
52 constructor(AbstractLineIterator li, hash<auto> spec, *hash<auto> opts)
Structured line iterator for abstract data allowing efficient "pipelined" processing.
Definition: FixedLengthAbstractIterator.qc.dox.h:29
Base class for fixed-length readers and writers.
Definition: FixedLengthBase.qc.dox.h:29
auto transform(auto value, hash< auto > type)
parses the input value based on global configuration and the current field definition ...
static *hash< auto > checkOptions(*hash< auto > opts)
Validate and prepare global fixed-length options.
string identifyType(string input_line)
Identify a fixed-length line type using identifyTypeImpl(), that may be overridden if necessary...
bool checkTransition(*string from, *string to)
A verification function to be called for each line. This method can be overridden to achieve a begin-...
*string identifyTypeImpl(string input_line)
Identify a fixed-length line type, given the raw line string. This method performs a lookup to a prec...
bool identifyRecord(list< auto > rec_rule, string input_line)
Attempts to identify a single record.
bool next()
Moves the current line / record position to the next line / record; returns False if there are no mor...
hash m_resolve_by_length
hash of type without rule, i.e.potentially conflicting records; key = record length, value = list of no-rule type names
Definition: FixedLengthAbstractIterator.qc.dox.h:39
*hash< auto > getValue()
Returns the current record as a hash.
The FixedLengthUtil namespace contains all the definitions in the FixedLengthUtil module...
Definition: FixedLengthAbstractIterator.qc.dox.h:27
constructor(AbstractLineIterator li, hash< auto > spec, *hash< auto > opts)
Instantiates the FixedLengthAbstractIterator object.
hash< auto > hash(object obj)