1#ifndef SOURCE_LOCATION_DEFINED
2#define SOURCE_LOCATION_DEFINED
10std::ostream &
operator<<(std::ostream &stream, SourceLocation
const &l);
24 std::stringstream stream;
38 return stream << location.
getFile() <<
"(" << location.
getLine() <<
")";
42#define SOURCE_LOCATION SourceLocation(__FILE__, __LINE__)
std::ostream & operator<<(std::ostream &s, const FcidumpReader::FcidumpHeader &h)
Definition FcidumpWriter.cxx:25
Definition SourceLocation.hpp:12
int line
Definition SourceLocation.hpp:33
SourceLocation(std::string const &file_, int line_)
Definition SourceLocation.hpp:20
std::string getFile() const
Definition SourceLocation.hpp:28
SourceLocation()
Definition SourceLocation.hpp:14
std::string file
Definition SourceLocation.hpp:32
SourceLocation(SourceLocation const &l)
Definition SourceLocation.hpp:17
std::string getLocation() const
Definition SourceLocation.hpp:23
int getLine() const
Definition SourceLocation.hpp:29
Definition Algorithm.hpp:10