DataTexter Class Reference

#include <data-io.h>

Inherits DataIo.

Collaboration diagram for DataTexter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DataTexter (QString fn, const char *mode)
 DataTexter (FILE *f)
virtual void read_into (Data &target)
virtual void write (Data data)

Static Public Member Functions

static Data read_file (QString filename)
static Data read_file (FILE *file)
static void write (Data data, QString filename)
static void write (Data data, FILE *target)

Protected Member Functions

virtual void write_fileformat_versionnr ()
virtual int read_fileformat_versionnr ()
virtual void visit (Symbol &symbol)
virtual void visit (Token &token)
virtual void visit (Float4 &f4)
virtual void visit (Float8 &f4)
template<int D, class T >
void visitArray (Array< D, T > &array)
template<class T >
void dumpSequence (Array< 1, T > &array)
template<class T >
void dumpSequence (Array< 2, T > &array)
template<class T >
void dumpSequence (Array< 3, T > &array)
template<class T >
void dumpSequence (Array< 4, T > &array)
template<class T >
void dumpSequence (Array< 5, T > &array)
template<class T >
void dumpSequence (Array< 6, T > &array)
template<class T >
void dumpSequence (Array< 7, T > &array)
template<class T >
void dumpSequence (Array< 8, T > &array)
virtual void visit (String &str)

Protected Attributes

 ARRAY_TYPES


Detailed Description

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


Constructor & Destructor Documentation

DataTexter::DataTexter ( QString  fn,
const char *  mode 
)

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

DataTexter::DataTexter ( FILE *  f  ) 

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


Member Function Documentation

template<class T >
void DataTexter::dumpSequence ( Array< 8, T > &  array  )  [inline, protected]

template<class T >
void DataTexter::dumpSequence ( Array< 7, T > &  array  )  [inline, protected]

template<class T >
void DataTexter::dumpSequence ( Array< 6, T > &  array  )  [inline, protected]

template<class T >
void DataTexter::dumpSequence ( Array< 5, T > &  array  )  [inline, protected]

template<class T >
void DataTexter::dumpSequence ( Array< 4, T > &  array  )  [inline, protected]

template<class T >
void DataTexter::dumpSequence ( Array< 3, T > &  array  )  [inline, protected]

template<class T >
void DataTexter::dumpSequence ( Array< 2, T > &  array  )  [inline, protected]

template<class T >
void DataTexter::dumpSequence ( Array< 1, T > &  array  )  [inline, protected]

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

Here is the call graph for this function:

Here is the caller graph for this function:

Data DataTexter::read_file ( FILE *  file  )  [static]

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

Here is the call graph for this function:

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

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

Here is the call graph for this function:

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

returns the file format version of the compiled version that saved the data. Returns 0 if it could not be read.

Implements DataIo.

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

void DataTexter::read_into ( Data target  )  [virtual]

Implements DataIo.

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

Here is the call graph for this function:

void DataTexter::visit ( String str  )  [protected, virtual]

Reimplemented from DataVisitor.

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

virtual void DataTexter::visit ( Float8 f4  )  [protected, virtual]

Reimplemented from DataVisitor.

void DataTexter::visit ( Float4 f4  )  [protected, virtual]

Reimplemented from DataVisitor.

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

void DataTexter::visit ( Token token  )  [protected, virtual]

Reimplemented from DataVisitor.

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

Here is the call graph for this function:

void DataTexter::visit ( Symbol symbol  )  [protected, virtual]

Reimplemented from DataVisitor.

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

Here is the caller graph for this function:

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

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

Here is the call graph for this function:

void DataTexter::write ( Data  data,
FILE *  target 
) [static]

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

Here is the call graph for this function:

void DataTexter::write ( Data  data,
QString  filename 
) [static]

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

Here is the call graph for this function:

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

Implements DataIo.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements DataIo.

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


Member Data Documentation

Reimplemented from DataVisitor.

Definition at line 108 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