v6502cpp/TransNetwork.h

37 lines
614 B
C
Raw Normal View History

/*
* File: TransNetwork.h
* Author: cmosher
*
* Created on December 11, 2013, 10:44 AM
*/
#ifndef TRANSNETWORK_H
#define TRANSNETWORK_H
class Trans;
#include <set>
#include <memory>
#include <istream>
2013-12-15 06:13:44 +00:00
class SegmentCache;
class Common;
class TransNetwork {
2013-12-12 22:05:33 +00:00
public:
2013-12-15 06:13:44 +00:00
TransNetwork(std::istream& readFromHere, SegmentCache& segs);
virtual ~TransNetwork();
private:
2013-12-14 06:04:55 +00:00
TransNetwork(const TransNetwork&) = delete;
TransNetwork& operator=(const TransNetwork&) = delete;
2013-12-15 06:13:44 +00:00
SegmentCache& segs;
std::set<std::shared_ptr<Trans >> transes;
2013-12-15 06:13:44 +00:00
friend Common;
};
#endif /* TRANSNETWORK_H */