1 #ifndef LIBR2C2_TRACKAPPEARANCE_H_
2 #define LIBR2C2_TRACKAPPEARANCE_H_
5 #include <msp/datafile/objectloader.h>
13 class Loader: public Msp::DataFile::ObjectLoader<TrackAppearance>
16 Loader(TrackAppearance &);
19 void ballast_profile();
22 void tie_length(float);
24 void tie_spacing(float);
30 Profile ballast_profile;
34 std::string technique;
39 float get_gauge() const { return gauge; }
40 float get_rail_elevation() const;
41 const Profile &get_rail_profile() const { return rail_profile; }
42 const Profile &get_ballast_profile() const { return ballast_profile; }
43 const Profile &get_tie_profile() const { return tie_profile; }
44 float get_tie_length() const { return tie_length; }
45 float get_tie_spacing() const { return tie_spacing; }
46 const std::string &get_technique() const { return technique; }