Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

FeatureData::StorageData Struct Reference

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

#include <featuredata.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 79 of file featuredata.h.


Member Data Documentation

TR_DNA FeatureData::StorageData::endPos
 

Definition at line 82 of file featuredata.h.

Referenced by FeatureData::endPos(), FeatureData::FeatureData(), FeatureData::readAttributes(), FeatureData::readDom(), FeatureData::setEndPos(), FeatureData::writeDom(), and FeatureData::writeXml().

db_recno_t FeatureData::StorageData::readRecno
 

Definition at line 83 of file featuredata.h.

Referenced by FeatureData::FeatureData(), FeatureData::getSeqRecNo(), FeatureData::print_debug_info(), FeatureData::readDom(), FeatureData::setReadRecno(), and FeatureData::writeDom().

TR_DNA FeatureData::StorageData::startPos
 

Definition at line 81 of file featuredata.h.

Referenced by FeatureData::FeatureData(), FeatureData::readAttributes(), FeatureData::readDom(), FeatureData::setStartPos(), FeatureData::startPos(), FeatureData::writeDom(), and FeatureData::writeXml().


The documentation for this struct was generated from the following file:
Generated on Fri Mar 17 17:44:58 2006 for trapper by  doxygen 1.4.4