|
IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
|
#include <OutputStreamHandlerSortedCsv.h>


Public Member Functions | |
| OutputStreamHandlerSortedCsv (OutputStreamHandler *outStreamHandler, const size_t colToSort, const bool sortLexOrder, const std::string colSep, const bool csvWithHeader, const std::string listSep="") | |
| virtual | ~OutputStreamHandlerSortedCsv () |
| virtual std::ostream & | getOutStream () |
Public Member Functions inherited from IntaRNA::OutputStreamHandler | |
| OutputStreamHandler (std::ostream *outStream) | |
| virtual | ~OutputStreamHandler () |
Protected Attributes | |
| OutputStreamHandler * | outStreamHandler |
| the underlying OutputStreamHandler to which the final output is reported | |
| std::stringstream | outStreamUnsorted |
| the stream to write output to | |
| const size_t | colToSort |
| the CSV column to sort | |
| const bool | sortLexOrder |
| whether or not lexicographic (or numerical) sorting is to be done | |
| const std::string | colSep |
| the column separator used within the output | |
| const bool | csvWithHeader |
| whether or not the CSV output will contain a header line | |
| std::string | csvHeader |
| the parsed CSV header (empty if not parsed yet) | |
| const std::string | listSep |
| the separator used within a single column to represent multiple values | |
Protected Attributes inherited from IntaRNA::OutputStreamHandler | |
| std::ostream * | outStream |
| the stream to write output to | |
Provides access to a temporal output stream for interaction reporting, which is assumed to be populated by an OutputHandlerCsv. On every flush(), the temporary stream is parsed and the sorted output is reported to the final output stream.
|
inline |
construction
| outStreamHandler | the OutputStreamHandler to write output to (non-NULL) and which is to destroy on destruction |
| colToSort | the CSV column to sort |
| sortLexOrder | whether or not lexicographic (or numerical) sorting is to be done |
| colSep | the column separator used within the output |
| csvWithHeader | whether or not the CSV output will contain a header line |
| listSep | the separator used within a single column to represent multiple values |
|
virtual |
destruction:
|
inlinevirtual |
Access to the ostream to which unsorted CSV output is to be written.
Reimplemented from IntaRNA::OutputStreamHandler.
|
protected |
the column separator used within the output
|
protected |
the CSV column to sort
|
protected |
the parsed CSV header (empty if not parsed yet)
|
protected |
whether or not the CSV output will contain a header line
|
protected |
the separator used within a single column to represent multiple values
|
protected |
the underlying OutputStreamHandler to which the final output is reported
|
protected |
the stream to write output to
|
protected |
whether or not lexicographic (or numerical) sorting is to be done