27class KeywordLocation {
43 std::string filename =
"<memory string>";
44 std::size_t lineno = 0;
45 static constexpr std::size_t LINENO_BINARY = 99999999;
47 KeywordLocation() =
default;
48 KeywordLocation(std::string kw, std::string fname, std::size_t lno) :
49 keyword(std::move(kw)),
50 filename(std::move(fname)),
54 bool is_binary()
const {
return lineno == LINENO_BINARY; }
55 std::string format(
const std::string& msg_fmt)
const;
57 static KeywordLocation serializationTestObject()
59 KeywordLocation result;
60 result.keyword =
"KW";
61 result.filename =
"test";
67 bool operator==(
const KeywordLocation& data)
const {
68 return keyword == data.keyword &&
69 filename == data.filename &&
70 lineno == data.lineno;
73 template<
class Serializer>
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30