00001
00002
00003 #ifndef DataTree_h
00004 #define DataTree_h
00005
00006 #include "Serializable.h"
00007
00008
00009 #include "Frontier.h"
00010 #include "Tessellation.h"
00011 #include "BaseDataTree.h"
00012 #include "Tile.h"
00013 #include "Distribution.h"
00014 #include "RecordInputStream.h"
00015
00016 namespace BIE {
00017
00018
00028 class DataTree : public BaseDataTree
00029 {
00030
00031 public:
00032
00034 DataTree(RecordInputStream * inputstream,
00035 SampleDistribution* distfactory,
00036 Tessellation * tess);
00037
00039 ~DataTree() {}
00040
00041
00045 void AddDataPoints(RecordInputStream* inputstream);
00046
00047
00048 protected:
00049 DataTree() {}
00050 private:
00051 friend class boost::serialization::access;
00052 template<class Archive>
00053 void serialize(Archive & ar, const unsigned int version) {
00054 this->pre_serialize(ar, version);
00055 try {
00056 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(BaseDataTree);
00057 BIE_CATCH_BOOST_SERIALIZATION_EXCEPTION;
00058 }
00059 this->post_serialize(ar, version);
00060 }
00061
00062 };
00063
00064 }
00065 BIE_CLASS_TYPE_INFO(BIE::DataTree)
00066 BIE_CLASS_EXPORT_KEY(BIE::DataTree)
00067 #endif