LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::error_detail Namespace Reference

Functions

bool valid_kind (const std::string &s)
 True when s matches [A-Za-z][A-Za-z0-9_]*, the grammar of a kind.
std::string make_id (const char *category, const std::string &kind)
 LINE:<category>:<kind>, or LINE:internal:BadErrorId for a malformed kind.

Function Documentation

◆ make_id()

std::string line::error_detail::make_id ( const char * category,
const std::string & kind )
inline

LINE:<category>:<kind>, or LINE:internal:BadErrorId for a malformed kind.

Definition at line 56 of file error.h.

References make_id(), and valid_kind().

Referenced by make_id().

◆ valid_kind()

bool line::error_detail::valid_kind ( const std::string & s)
inline

True when s matches [A-Za-z][A-Za-z0-9_]*, the grammar of a kind.

Definition at line 45 of file error.h.

References valid_kind().

Referenced by make_id(), and valid_kind().