|
MTCT
Design Automation and Optimization for ETCS Railway Networks
|
#include "StringHelper.hpp"#include <algorithm>#include <array>#include <cctype>#include <cstddef>#include <exception>#include <initializer_list>#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| class | cda_rail::exceptions::CustomException |
| Base class for project-specific exceptions. More... | |
| class | cda_rail::exceptions::ModelCreationException |
| Thrown when model creation fails. More... | |
| class | cda_rail::exceptions::ExportException |
| Thrown when export fails. More... | |
| class | cda_rail::exceptions::ConsistencyException |
| Thrown when a consistency check fails. More... | |
| class | cda_rail::exceptions::InvalidInputException |
| Thrown when input values do not satisfy expected constraints. More... | |
| class | cda_rail::exceptions::ImportException |
| Thrown when importing data fails. More... | |
| class | cda_rail::exceptions::VertexNotExistentException |
| Thrown when a referenced vertex does not exist. More... | |
| class | cda_rail::exceptions::EdgeNotExistentException |
| Thrown when a referenced edge does not exist. More... | |
| class | cda_rail::exceptions::TrainNotExistentException |
| Thrown when a referenced train does not exist. More... | |
| class | cda_rail::exceptions::StationNotExistentException |
| Thrown when a referenced station does not exist. More... | |
| class | cda_rail::exceptions::ScheduleNotExistentException |
| Thrown when a referenced schedule does not exist. More... | |
Namespaces | |
| namespace | cda_rail |
| namespace | cda_rail::exceptions |
Functions | |
| void | cda_rail::exceptions::throw_if_less (double const value, double const threshold, std::string_view const name, bool inclusive) |
| Validates that a value meets a minimum threshold constraint. | |
| void | cda_rail::exceptions::throw_if_less_than (double const value, double const threshold, std::string_view const name) |
| Throws if a value is less than a threshold. | |
| void | cda_rail::exceptions::throw_if_less_than_or_equal (double const value, double const threshold, std::string_view const name) |
| Validates that a value is greater than a threshold. | |
| void | cda_rail::exceptions::throw_if_negative (double const value, std::string_view const name) |
| Validates that a value is non-negative. | |
| void | cda_rail::exceptions::throw_if_non_positive (double const value, double tolerance, std::string_view const name) |
| Ensures a value is strictly greater than a tolerance. | |
| void | cda_rail::exceptions::throw_if_non_positive (double const value, std::string_view const name) |
| Validates that a value is strictly positive. | |
| void | cda_rail::exceptions::throw_if_non_positive (int const value, std::string_view const name) |
| Throws if an integer value is not strictly positive. | |
| void | cda_rail::exceptions::throw_if_invalid_folder_name (std::string_view const folderName) |
| Validates that a folder name is portable across Linux, Windows, and macOS. | |