mirror of
https://github.com/cmosher01/v6502cpp.git
synced 2026-03-11 05:41:41 +00:00
fixed inconsistent breaking; other refactoring
the sets of Segment* 's needed to be sorted consistently
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user