#include <LogFilter.h>
Public Member Functions | |
LogFilterList () | |
~LogFilterList () | |
bool | operator== (LogFilterList &) |
void | add (LogFilter *filter, bool copy=true) |
bool | toss_this_entry (LogAccess *lad) |
bool | wipe_this_entry (LogAccess *lad) |
LogFilter * | find_by_name (char *name) |
void | clear () |
LogFilter * | first () const |
LogFilter * | next (LogFilter *here) const |
unsigned | count () |
void | display (FILE *fd=stdout) |
void | display_as_XML (FILE *fd=stdout) |
bool | does_conjunction () const |
void | set_conjunction (bool c) |
Definition at line 241 of file LogFilter.h.
LogFilterList::LogFilterList | ( | ) |
Definition at line 891 of file LogFilter.cc.
LogFilterList::~LogFilterList | ( | ) |
Definition at line 898 of file LogFilter.cc.
References clear().
void LogFilterList::add | ( | LogFilter * | filter, | |
bool | copy = true | |||
) |
Definition at line 945 of file LogFilter.cc.
References Queue< C, L >::enqueue(), ink_assert, and LogFilter::type().
Referenced by LogObject::add_filter(), and LogObject::set_filter_list().
void LogFilterList::clear | ( | void | ) |
Definition at line 933 of file LogFilter.cc.
References Queue< C, L >::dequeue().
Referenced by LogObject::set_filter_list(), LogConfig::setup_log_objects(), and ~LogFilterList().
unsigned LogFilterList::count | ( | ) |
Definition at line 1025 of file LogFilter.cc.
References first(), and next().
Referenced by LogConfig::display().
void LogFilterList::display | ( | FILE * | fd = stdout |
) |
Definition at line 1036 of file LogFilter.cc.
References first(), and next().
Referenced by LogObject::display(), and LogConfig::display().
void LogFilterList::display_as_XML | ( | FILE * | fd = stdout |
) |
Definition at line 1044 of file LogFilter.cc.
References first(), and next().
Referenced by LogObject::displayAsXML().
bool LogFilterList::does_conjunction | ( | ) | const [inline] |
Definition at line 261 of file LogFilter.h.
Referenced by operator==(), and LogObject::set_filter_list().
LogFilter * LogFilterList::find_by_name | ( | char * | name | ) |
Definition at line 1010 of file LogFilter.cc.
LogFilter* LogFilterList::first | ( | ) | const [inline] |
Definition at line 254 of file LogFilter.h.
References DLL< C, L >::head.
Referenced by count(), display(), display_as_XML(), LogObject::displayAsXML(), find_by_name(), LogObject::LogObject(), operator==(), LogObject::set_filter_list(), toss_this_entry(), and wipe_this_entry().
Definition at line 255 of file LogFilter.h.
Referenced by count(), display(), display_as_XML(), LogObject::displayAsXML(), find_by_name(), LogObject::LogObject(), operator==(), LogObject::set_filter_list(), toss_this_entry(), and wipe_this_entry().
bool LogFilterList::operator== | ( | LogFilterList & | rhs | ) |
Definition at line 906 of file LogFilter.cc.
References does_conjunction(), filters_are_equal(), first(), and next().
void LogFilterList::set_conjunction | ( | bool | c | ) | [inline] |
Definition at line 262 of file LogFilter.h.
Referenced by LogObject::set_filter_list().
bool LogFilterList::toss_this_entry | ( | LogAccess * | lad | ) |
Definition at line 983 of file LogFilter.cc.
References first(), and next().
Referenced by LogObject::log().
bool LogFilterList::wipe_this_entry | ( | LogAccess * | lad | ) |
Definition at line 968 of file LogFilter.cc.
References first(), and next().
Referenced by LogObject::log().