atlas::CodeLocation class

Constructors, destructors, conversion operators

CodeLocation(const CodeLocation& loc)
CodeLocation(const eckit::CodeLocation& loc)
CodeLocation(const char* file, int line, const char* function, bool store = false)
operator const eckit::CodeLocation&() const
operator bool() const
conversion to bool for checking if location was set

Public functions

auto asString() const -> std::string
auto line() const -> int
accessor to line
auto file() const -> const char*
accessor to file
auto func() const -> const char*
accessor to function

Friends

auto operator<<(std::ostream& s, const CodeLocation& loc) -> std::ostream&