display.h
Go to the documentation of this file.
/* Frobby: Software for monomial ideal computations.
Copyright (C) 2010 University of Aarhus
Contact Bjarke Hammersholt Roune for license information (www.broune.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
*/
#ifndef DISPLAY_GUARD
#define DISPLAY_GUARD
void display(const string& msg, const string& prepend = "");
void displayNote(const string& msg);
void displayError(const string& msg);
void displayInternalError(const string& errorMsg);
void displayException(const std::exception& exception);
#endif
displayInternalError
void displayInternalError(const string &errorMsg)
Display msg to standard in a way that indicates that it is an internal error.
Definition display.cpp:143
displayError
void displayError(const string &msg)
Display msg to standard error in a way that indicates that it is an error.
Definition display.cpp:139
display
void display(const string &msg, const string &prepend="")
Display msg to standard error with automatic line breaking.
Definition display.cpp:131
displayNote
void displayNote(const string &msg)
Display msg to standard error in a way that indicates that this is something that the user should tak...
Definition display.cpp:135
displayException
void displayException(const std::exception &exception)
Display the message of exception.
Definition display.cpp:147