#include <data-io.h>
Inherits DataIo.
Public Member Functions | |
DataBinner (QString fn, const char *mode) | |
DataBinner (FILE *f) | |
virtual | ~DataBinner () |
virtual void | start_reading () |
virtual void | write (Data) |
template<int D, class T > | |
void | visitArray (Array< D, T > &array) |
virtual void | visit (Token &token) |
virtual void | visit (Symbol &symbol) |
virtual void | visit (String &str) |
virtual void | visit (Signed1 &nr) |
virtual void | visit (Signed2 &nr) |
virtual void | visit (Signed4 &nr) |
virtual void | visit (Signed8 &nr) |
virtual void | visit (Unsigned1 &nr) |
virtual void | visit (Unsigned2 &nr) |
virtual void | visit (Unsigned4 &nr) |
virtual void | visit (Unsigned8 &nr) |
virtual void | visit (Float4 &nr) |
virtual void | visit (Float8 &nr) |
Static Public Member Functions | |
static Data | read_file (QString filename) |
static bool | write (Data data, QString filename) |
static bool | write (Data data, FILE *target) |
Public Attributes | |
ARRAY_TYPES | |
Protected Member Functions | |
virtual void | write_fileformat_versionnr () |
virtual int | read_fileformat_versionnr () |
virtual void | read_into (Data &target) |
Definition at line 137 of file data-io.h.
DataBinner::DataBinner | ( | QString | fn, | |
const char * | mode | |||
) |
Definition at line 514 of file data-io.cpp.
DataBinner::DataBinner | ( | FILE * | f | ) |
Definition at line 521 of file data-io.cpp.
DataBinner::~DataBinner | ( | ) | [virtual] |
Definition at line 528 of file data-io.cpp.
Data DataBinner::read_file | ( | QString | filename | ) | [static] |
int DataBinner::read_fileformat_versionnr | ( | ) | [protected, virtual] |
void DataBinner::read_into | ( | Data & | target | ) | [protected, virtual] |
void DataBinner::start_reading | ( | ) | [virtual] |
Reimplemented from DataIo.
Definition at line 586 of file data-io.cpp.
virtual void DataBinner::visit | ( | Float8 & | nr | ) | [virtual] |
Reimplemented from DataVisitor.
void DataBinner::visit | ( | Float4 & | nr | ) | [virtual] |
virtual void DataBinner::visit | ( | Unsigned8 & | nr | ) | [virtual] |
Reimplemented from DataVisitor.
virtual void DataBinner::visit | ( | Unsigned4 & | nr | ) | [virtual] |
Reimplemented from DataVisitor.
virtual void DataBinner::visit | ( | Unsigned2 & | nr | ) | [virtual] |
Reimplemented from DataVisitor.
virtual void DataBinner::visit | ( | Unsigned1 & | nr | ) | [virtual] |
Reimplemented from DataVisitor.
virtual void DataBinner::visit | ( | Signed8 & | nr | ) | [virtual] |
Reimplemented from DataVisitor.
virtual void DataBinner::visit | ( | Signed4 & | nr | ) | [virtual] |
Reimplemented from DataVisitor.
void DataBinner::visit | ( | Signed2 & | nr | ) | [virtual] |
void DataBinner::visit | ( | Signed1 & | nr | ) | [virtual] |
void DataBinner::visit | ( | String & | str | ) | [virtual] |
void DataBinner::visit | ( | Symbol & | symbol | ) | [virtual] |
void DataBinner::visit | ( | Token & | token | ) | [virtual] |
Reimplemented from DataVisitor.
Definition at line 965 of file data-io.cpp.
void DataBinner::visitArray | ( | Array< D, T > & | array | ) | [inline] |
bool DataBinner::write | ( | Data | data, | |
FILE * | target | |||
) | [static] |
bool DataBinner::write | ( | Data | data, | |
QString | filename | |||
) | [static] |
void DataBinner::write | ( | Data | data | ) | [virtual] |
Implements DataIo.
Definition at line 814 of file data-io.cpp.
void DataBinner::write_fileformat_versionnr | ( | ) | [protected, virtual] |