Frobby  0.9.5
display.h
Go to the documentation of this file.
1 /* Frobby: Software for monomial ideal computations.
2  Copyright (C) 2010 University of Aarhus
3  Contact Bjarke Hammersholt Roune for license information (www.broune.com)
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see http://www.gnu.org/licenses/.
17 */
18 #ifndef DISPLAY_GUARD
19 #define DISPLAY_GUARD
20 
35 void display(const string& msg, const string& prepend = "");
36 
40 void displayNote(const string& msg);
41 
44 void displayError(const string& msg);
45 
48 void displayInternalError(const string& errorMsg);
49 
51 void displayException(const std::exception& exception);
52 
53 #endif
void displayInternalError(const string &errorMsg)
Display msg to standard in a way that indicates that it is an internal error.
Definition: display.cpp:143
void displayError(const string &msg)
Display msg to standard error in a way that indicates that it is an error.
Definition: display.cpp:139
void display(const string &msg, const string &prepend="")
Display msg to standard error with automatic line breaking.
Definition: display.cpp:131
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
void displayException(const std::exception &exception)
Display the message of exception.
Definition: display.cpp:147