Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::logic::files::StationLomFileCoder Class Reference

Class to encode and decode Station LOM files. More...

#include <StationLomFileCoder.hpp>

Classes

struct  DefaultValues
 
struct  Keys
 

Static Public Member Functions

static iv::logic::files::StationLomFile readStationLomFile (std::string_view lomFilePath)
 Read a Station LOM file.
 
static bool writeStationLomFile (const iv::logic::files::StationLomFile &lomFile, std::string_view lomFilePath)
 Write a Station LOM file.
 

Detailed Description

Class to encode and decode Station LOM files.

Note
This class is in charge of writing the correct data structure in the Station LOM file and reading it.

Member Function Documentation

◆ readStationLomFile()

StationLomFile iv::logic::files::StationLomFileCoder::readStationLomFile ( std::string_view lomFilePath)
static

Read a Station LOM file.

Parameters
lomFilePathPath to the Station LOM file.
Returns
Read StationLomFile.

◆ writeStationLomFile()

bool iv::logic::files::StationLomFileCoder::writeStationLomFile ( const iv::logic::files::StationLomFile & lomFile,
std::string_view lomFilePath )
static

Write a Station LOM file.

Parameters
lomFileStationLomFile to write.
lomFilePathPath to write the Station LOM file.
Returns
True if the file was written successfully, false otherwise.

The documentation for this class was generated from the following files: