alaCarte Maps
Renderer for OpenStreetMap tiles
|
#include <parser_logger.hpp>
Public Member Functions | |
LogStream (const shared_ptr< ParserLogger > &logger, Category cat) | |
This file is part of alaCarte. More... | |
LogStream (const LogStream &other) | |
Creates a log stream from another log stream. More... | |
~LogStream () | |
Destroyes the log stream. More... | |
template<typename T > | |
LogStream & | operator<< (const T &v) |
string | logvalue () const |
Returns the log value. More... | |
Private Attributes | |
std::ostringstream | value |
shared_ptr< ParserLogger > | logger |
Category | category |
Definition at line 41 of file parser_logger.hpp.
ParserLogger::LogStream::LogStream | ( | const shared_ptr< ParserLogger > & | logger, |
Category | cat | ||
) |
This file is part of alaCarte.
alaCarte is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
alaCarte 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with alaCarte. If not, see http://www.gnu.org/licenses/.
Copyright alaCarte 2012-2013 Simon Dreher, Florian Jacob, Tobias Kahlert, Patrick Niklaus, Bernhard Scheirle, Lisa Winter Maintainer: Tobias Kahlert Creates a log stream
logger | used for output |
cat | Category for this outputstream |
Definition at line 33 of file parser_logger.cpp.
ParserLogger::LogStream::LogStream | ( | const LogStream & | other | ) |
Creates a log stream from another log stream.
other | outputstream |
Definition at line 46 of file parser_logger.cpp.
ParserLogger::LogStream::~LogStream | ( | ) |
Destroyes the log stream.
Definition at line 57 of file parser_logger.cpp.
string ParserLogger::LogStream::logvalue | ( | ) | const |
Returns the log value.
Definition at line 69 of file parser_logger.cpp.
|
inline |
Definition at line 49 of file parser_logger.hpp.
|
private |
Definition at line 59 of file parser_logger.hpp.
|
private |
Definition at line 58 of file parser_logger.hpp.
|
private |
Definition at line 57 of file parser_logger.hpp.