xtrakcad_parser

Crates.ioxtrakcad_parser
lib.rsxtrakcad_parser
version0.1.3
created_at2025-09-27 20:22:17.761141+00
updated_at2025-09-28 19:19:52.168248+00
descriptionParser for XTrackCAD layout files
homepage
repositoryhttps://github.com/RobertPHeller/xtrakcad_parser
max_upload_size
id1857609
size207,612
Robert Heller (RobertPHeller)

documentation

https://docs.rs/xtrakcad_parser

README

XTrackCAD layout file parser

Ported from the Model RR System's Bision++ / C++ XTrackCAD layout file parser.

The parser is invoked as part of the new() class function of the Layout struct. This function takes a layout filename as its only parameter. It opens the file and procedes to parse the file and the parser's action code populates the Layout struct with the contents of the file. The new() returns the fully populated struct, which can then be accessed via various accessor methods to retrieve information about the layout, including tracks, structures, scenery features, and control features.

Commit count: 0

cargo fmt