2004-11-30 23:50:30 +01:00
|
|
|
#ifndef NXS_VCHAIN_H
|
|
|
|
#define NXS_VCHAIN_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
|
|
|
#include <set>
|
|
|
|
#include "vpartition.h"
|
|
|
|
|
|
|
|
namespace nxs {
|
|
|
|
|
2004-12-03 22:19:00 +01:00
|
|
|
class VChain: public std::vector<VPartition *> {
|
2004-11-30 23:50:30 +01:00
|
|
|
public:
|
2004-12-03 22:19:00 +01:00
|
|
|
~VChain();
|
2004-11-30 23:50:30 +01:00
|
|
|
bool Save(const std::string &file);
|
|
|
|
bool Load(const std::string &file);
|
|
|
|
|
|
|
|
std::map<unsigned int, std::set<unsigned int> > newfragments;
|
|
|
|
std::map<unsigned int, std::set<unsigned int> > oldfragments;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif
|