MySQL 5.6.14 Source Code Document
|
#include <LogHandlerList.hpp>
Classes | |
struct | LogHandlerNode |
Public Member Functions | |
LogHandlerList () | |
~LogHandlerList () | |
bool | add (LogHandler *pNewHandler) |
bool | remove (LogHandler *pRemoveHandler) |
void | removeAll () |
LogHandler * | next () |
int | size () const |
Provides a simple linked list of log handlers.
Definition at line 30 of file LogHandlerList.hpp.
LogHandlerList::LogHandlerList | ( | ) |
Default Constructor.
Definition at line 26 of file LogHandlerList.cpp.
LogHandlerList::~LogHandlerList | ( | ) |
Destructor.
Definition at line 34 of file LogHandlerList.cpp.
bool LogHandlerList::add | ( | LogHandler * | pNewHandler | ) |
Adds a new log handler.
pNewHandler | log handler. |
Definition at line 40 of file LogHandlerList.cpp.
LogHandler * LogHandlerList::next | ( | void | ) |
Returns the next log handler in the list. returns a log handler or NULL.
Definition at line 93 of file LogHandlerList.cpp.
bool LogHandlerList::remove | ( | LogHandler * | pRemoveHandler | ) |
Removes a log handler from the list and call its destructor.
pRemoveHandler | the handler to remove |
Definition at line 66 of file LogHandlerList.cpp.
void LogHandlerList::removeAll | ( | ) |
Removes all log handlers.
Definition at line 84 of file LogHandlerList.cpp.
int LogHandlerList::size | ( | void | ) | const |
Returns the size of the list.
Definition at line 117 of file LogHandlerList.cpp.