- TrackType &get_track(unsigned) const;
- const std::map<unsigned, TrackType *> &get_tracks() const { return tracks; }
- LocoType &get_locomotive(unsigned) const;
- const std::map<unsigned, LocoType *> &get_locomotives() const { return locos; }
- void load(const std::string &);
+ float get_scale() const { return scale; }
+ float get_gauge() const { return gauge; }
+ float get_rail_elevation() const;
+ const Profile &get_rail_profile() const { return rail_profile; }
+ const Profile &get_ballast_profile() const { return ballast_profile; }
+ const Profile &get_path_profile() const { return path_profile; }
+
+ void add_track(TrackType &);
+ const TrackType &get_track(const ArticleNumber &) const;
+ const TrackMap &get_tracks() const { return tracks; }
+
+ void add_vehicle(VehicleType &);
+ const VehicleType &get_vehicle(const ArticleNumber &) const;
+ const VehicleMap &get_vehicles() const { return vehicles; }
+
+ Layout &get_layout() { return layout; }