 |
vrpRouting
0.3
|
Go to the documentation of this file.
30 #ifndef INCLUDE_CPP_COMMON_PGR_MESSAGES_H_
31 #define INCLUDE_CPP_COMMON_PGR_MESSAGES_H_
91 mutable std::ostringstream
log;
95 mutable std::ostringstream
error;
100 #if defined(__MINGW32__) || defined(_MSC_VER)
104 #define ENTERING(x) x.log << "\n--> " << __PRETTY_FUNCTION__ << "\n"
105 #define EXITING(x) x.log << "\n<-- " << __PRETTY_FUNCTION__ << "\n"
112 #endif // INCLUDE_CPP_COMMON_PGR_MESSAGES_H_
std::ostringstream log
Stores the hint information.
bool has_error() const
gets the contents of notice message
std::ostringstream error
Stores the error information.
std::string get_notice() const
gets the contents of notice message
std::string get_log() const
gets the contents of log message
Pgr_messages(const Pgr_messages &)
std::string get_error() const
gets the contents of error message
Pgr_messages & operator=(const Pgr_messages &)
void clear()
Clears all the messages.
std::ostringstream notice
Stores the notice information.