FeatureData::StorageData Struct Reference

to keep the order of the data members when serializing/unserializing More...

#include <spatialfeaturedata.h>

List of all members.

Public Attributes

TR_DNA startPos
TR_DNA endPos
db_recno_t readRecno


Detailed Description

to keep the order of the data members when serializing/unserializing

This might make the serializing/unserializing a bit faster ( probably not significant at all, not tested ). But the main reason for the existence of this class is that the order is kept right between serializing and unserializing. But a problem with this approach might be that the endian awareness of QDataStream might be lost, when we don't serialize the types one by one. It might be a problem when moving berkeley dbs around archictures. But berkeley db probably doesn't allow this anyway?

Definition at line 77 of file spatialfeaturedata.h.


Member Data Documentation

TR_DNA FeatureData::StorageData::startPos

Definition at line 79 of file spatialfeaturedata.h.

Referenced by FeatureData::setStartPos(), and FeatureData::startPos().

TR_DNA FeatureData::StorageData::endPos

Definition at line 80 of file spatialfeaturedata.h.

Referenced by FeatureData::endPos(), and FeatureData::setEndPos().

db_recno_t FeatureData::StorageData::readRecno

Definition at line 81 of file spatialfeaturedata.h.

Referenced by FeatureData::setReadRecno().


The documentation for this struct was generated from the following file:
Generated on Fri Jul 17 20:19:47 2009 for ngsview by  doxygen 1.5.1