#include <RegexConverterBox.h>
Inherits SimpleConverterBox.
Inherited by StockQuoteConverterBox.
Public Member Functions | |
~RegexConverterBox () | |
Destructor. | |
virtual bool | convertTuple (const char *data, unsigned int length, char *out) throw (AuroraException) |
Handles data by matching input data against the regex and calling convertTupleFromRegex. | |
virtual bool | convertTupleFromRegex (Subexpr match, const vector< Subexpr > &subexprs, char *out)=0 throw (AuroraException) |
Convert an input record that matches the regex provided in the constructor. | |
Protected Member Functions | |
RegexConverterBox (TupleDescription schema, char delim, string regex) throw ( AuroraException ) | |
Creates a regex converter box. |
|
Creates a regex converter box.
|
|
Destructor.
|
|
Handles data by matching input data against the regex and calling convertTupleFromRegex. Should not be overridden by subclasses (if you would need to override this, subclass SimpleConverterBox directly). Implements SimpleConverterBox.
|
|
Convert an input record that matches the regex provided in the constructor. Must be implemented in the subclass.
Implemented in StockQuoteConverterBox.
|