]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/tracktype.h
Change terminology to better distinguish routes on the layout from paths across track...
[r2c2.git] / source / libmarklin / tracktype.h
index ba1b95ff6aee5148d5335f47648e9c2e5de84b00..45d8720bd4ae02da8d72f5fc299063017e8302ff 100644 (file)
@@ -28,8 +28,8 @@ public:
        };
 
 private:
-       unsigned     art_nr;
-       std::string  description;
+       unsigned art_nr;
+       std::string description;
        std::vector<TrackPart> parts;
        std::vector<Endpoint> endpoints;
 
@@ -39,13 +39,13 @@ public:
        unsigned get_article_number() const { return art_nr; }
        const std::string &get_description() const { return description; }
        float get_total_length() const;
-       float get_route_length(int) const;
-       unsigned get_n_routes() const;
+       float get_path_length(int) const;
+       unsigned get_n_paths() const;
        const std::vector<TrackPart> &get_parts() const { return parts; }
-       const std::vector<Endpoint>  &get_endpoints() const { return endpoints; }
+       const std::vector<Endpoint> &get_endpoints() const { return endpoints; }
 
 private:
-       void  collect_endpoints();
+       void collect_endpoints();
 };
 
 } // namespace Marklin