#include <LogField.h>
Public Member Functions | |
LogFieldList () | |
~LogFieldList () | |
void | clear () |
void | add (LogField *field, bool copy=true) |
LogField * | find_by_name (const char *name) const |
LogField * | find_by_symbol (const char *symbol) const |
unsigned | marshal_len (LogAccess *lad) |
unsigned | marshal (LogAccess *lad, char *buf) |
unsigned | marshal_agg (char *buf) |
LogField * | first () const |
LogField * | next (LogField *here) const |
unsigned | count () |
void | display (FILE *fd=stdout) |
Definition at line 208 of file LogField.h.
LogFieldList::LogFieldList | ( | ) |
Definition at line 515 of file LogField.cc.
LogFieldList::~LogFieldList | ( | ) |
Definition at line 519 of file LogField.cc.
References clear().
void LogFieldList::add | ( | LogField * | field, | |
bool | copy = true | |||
) |
Definition at line 535 of file LogField.cc.
References Queue< C, L >::enqueue(), ink_assert, and LogField::type().
Referenced by Log::init_fields(), and LogFormat::parse_symbol_string().
void LogFieldList::clear | ( | void | ) |
Definition at line 525 of file LogField.cc.
References Queue< C, L >::dequeue().
Referenced by ~LogFieldList().
unsigned LogFieldList::count | ( | ) |
Definition at line 621 of file LogField.cc.
References first(), and next().
Referenced by LogBuffer::resolve_custom_entry().
void LogFieldList::display | ( | FILE * | fd = stdout |
) |
Definition at line 631 of file LogField.cc.
References first(), and next().
Referenced by LogFormat::display().
LogField * LogFieldList::find_by_name | ( | const char * | name | ) | const |
Definition at line 551 of file LogField.cc.
LogField * LogFieldList::find_by_symbol | ( | const char * | symbol | ) | const |
Definition at line 562 of file LogField.cc.
References Debug, Log::field_symbol_hash, first(), ink_hash_table_lookup(), next(), and LogField::symbol().
Referenced by LogFormat::parse_symbol_string().
LogField* LogFieldList::first | ( | ) | const [inline] |
Definition at line 222 of file LogField.h.
References DLL< C, L >::head.
Referenced by count(), display(), find_by_name(), find_by_symbol(), LogObject::log(), marshal(), marshal_agg(), marshal_len(), parse_log_buff(), and LogBuffer::resolve_custom_entry().
unsigned LogFieldList::marshal | ( | LogAccess * | lad, | |
char * | buf | |||
) |
Definition at line 596 of file LogField.cc.
References first(), ink_assert, INK_MIN_ALIGN, and next().
Referenced by LogObject::log(), and resolve_logfield_string().
unsigned LogFieldList::marshal_agg | ( | char * | buf | ) |
Definition at line 609 of file LogField.cc.
References first(), and next().
Referenced by LogObject::log().
unsigned LogFieldList::marshal_len | ( | LogAccess * | lad | ) |
Definition at line 584 of file LogField.cc.
References first(), and next().
Referenced by LogObject::log(), and resolve_logfield_string().
Definition at line 226 of file LogField.h.
Referenced by count(), display(), find_by_name(), find_by_symbol(), LogObject::log(), marshal(), marshal_agg(), marshal_len(), parse_log_buff(), and LogBuffer::resolve_custom_entry().