DataBinner Class Reference

#include <data-io.h>

Inherits DataIo.

Collaboration diagram for DataBinner:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Definition at line 137 of file data-io.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Data DataBinner::read_file ( QString  filename  )  [static]

Definition at line 549 of file data-io.cpp.

Here is the call graph for this function:

int DataBinner::read_fileformat_versionnr (  )  [protected, virtual]

Implements DataIo.

Definition at line 563 of file data-io.cpp.

void DataBinner::read_into ( Data target  )  [protected, virtual]

Implements DataIo.

Definition at line 789 of file data-io.cpp.

void DataBinner::start_reading (  )  [virtual]

Reimplemented from DataIo.

Definition at line 586 of file data-io.cpp.

Here is the caller graph for this function:

virtual void DataBinner::visit ( Float8 nr  )  [virtual]

Reimplemented from DataVisitor.

void DataBinner::visit ( Float4 nr  )  [virtual]

Reimplemented from DataVisitor.

Definition at line 1120 of file data-io.cpp.

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]

Reimplemented from DataVisitor.

Definition at line 1022 of file data-io.cpp.

void DataBinner::visit ( Signed1 nr  )  [virtual]

Reimplemented from DataVisitor.

Definition at line 1016 of file data-io.cpp.

void DataBinner::visit ( String str  )  [virtual]

Reimplemented from DataVisitor.

Definition at line 1150 of file data-io.cpp.

void DataBinner::visit ( Symbol symbol  )  [virtual]

Reimplemented from DataVisitor.

Definition at line 997 of file data-io.cpp.

void DataBinner::visit ( Token token  )  [virtual]

Reimplemented from DataVisitor.

Definition at line 965 of file data-io.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<int D, class T >
void DataBinner::visitArray ( Array< D, T > &  array  )  [inline]

Definition at line 697 of file data-io.cpp.

Here is the call graph for this function:

bool DataBinner::write ( Data  data,
FILE *  target 
) [static]

Definition at line 541 of file data-io.cpp.

Here is the call graph for this function:

bool DataBinner::write ( Data  data,
QString  filename 
) [static]

Definition at line 533 of file data-io.cpp.

Here is the call graph for this function:

void DataBinner::write ( Data  data  )  [virtual]

Implements DataIo.

Definition at line 814 of file data-io.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void DataBinner::write_fileformat_versionnr (  )  [protected, virtual]

Implements DataIo.

Definition at line 556 of file data-io.cpp.


Member Data Documentation

Reimplemented from DataVisitor.

Definition at line 184 of file data-io.h.


The documentation for this class was generated from the following files:

Generated on Sat Feb 20 19:04:27 2010 for Data Objects by  doxygen 1.5.9