fixed inconsistent breaking; other refactoring

the sets of Segment* 's needed to be sorted consistently
This commit is contained in:
Christopher Mosher
2013-12-14 18:10:32 -05:00
parent e05f941086
commit 40ba79a34d
16 changed files with 111 additions and 146 deletions

View File

@@ -8,22 +8,26 @@
#ifndef TRANSNETWORK_H
#define TRANSNETWORK_H
#include "trans.h"
class Trans;
#include "SegmentCache.h"
#include <set>
#include <memory>
#include <istream>
class TransNetwork {
public:
SegmentCache segs;
std::set<std::shared_ptr<Trans>> transes;
public:
SegmentCache segs;
TransNetwork(std::istream& readFromHere);
virtual ~TransNetwork();
private:
TransNetwork(const TransNetwork&) = delete;
TransNetwork& operator=(const TransNetwork&) = delete;
std::set<std::shared_ptr<Trans >> transes;
};
#endif /* TRANSNETWORK_H */