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&
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.