#include <ControlBase.h>
Inherited by CacheControlRecord, CongestionControlRecord, ParentRecord, and SplitDNSRecord.
Data Structures | |
struct | Modifier |
Public Member Functions | |
ControlBase () | |
~ControlBase () | |
const char * | ProcessModifiers (matcher_line *line_info) |
bool | CheckModifiers (HttpRequestData *request_data) |
bool | CheckForMatch (HttpRequestData *request_data, int last_number) |
void | Print () |
Modifier * | findModOfType (Modifier::Type t) const |
Data Fields | |
int | line_num |
Protected Member Functions | |
char const * | getSchemeModText () const |
Get the text for the Scheme modifier, if any. |
Definition at line 42 of file ControlBase.h.
ControlBase::ControlBase | ( | ) | [inline] |
Definition at line 100 of file ControlBase.h.
ControlBase::~ControlBase | ( | ) |
Definition at line 518 of file ControlBase.cc.
bool ControlBase::CheckForMatch | ( | HttpRequestData * | request_data, | |
int | last_number | |||
) | [inline] |
Definition at line 105 of file ControlBase.h.
References CheckModifiers(), and line_num.
Referenced by ParentRecord::UpdateMatch(), and CacheControlRecord::UpdateMatch().
bool ControlBase::CheckModifiers | ( | HttpRequestData * | request_data | ) |
Definition at line 553 of file ControlBase.cc.
References findModOfType(), forv_Vec, HttpRequestData::hdr, ControlBase::Modifier::MOD_TAG, and HttpRequestData::tag.
Referenced by CheckForMatch(), and CongestionControlRecord::UpdateMatch().
ControlBase::Modifier * ControlBase::findModOfType | ( | Modifier::Type | t | ) | const |
Definition at line 586 of file ControlBase.cc.
References forv_Vec.
Referenced by CheckModifiers(), and getSchemeModText().
char const * ControlBase::getSchemeModText | ( | ) | const [protected] |
Get the text for the Scheme modifier, if any.
Definition at line 545 of file ControlBase.cc.
References findModOfType(), and ControlBase::Modifier::MOD_SCHEME.
Referenced by ParentRecord::Init().
void ControlBase::Print | ( | ) |
Reimplemented in SplitDNSRecord, CacheControlRecord, CongestionControlRecord, and ParentRecord.
Definition at line 530 of file ControlBase.cc.
References Vec< C, A, S >::length(), and ControlBase::Modifier::print().
const char * ControlBase::ProcessModifiers | ( | matcher_line * | line_info | ) |
Definition at line 593 of file ControlBase.cc.
References Vec< C, A, S >::clear(), matcher_line::line, MATCHER_MAX_TOKENS, ME_CALLEE_GENERATED, ME_UNKNOWN, matcher_line::num_el, Vec< C, A, S >::push_back(), and Vec< C, A, S >::reserve().
Referenced by ParentRecord::Init(), CongestionControlRecord::Init(), and CacheControlRecord::Init().
Definition at line 81 of file ControlBase.h.
Referenced by CheckForMatch(), CongestionControlRecord::CongestionControlRecord(), get_congest_entry(), ParentRecord::Init(), CongestionControlRecord::Init(), CacheControlRecord::Init(), CongestionControlRecord::Print(), ParentRecord::UpdateMatch(), CongestionControlRecord::UpdateMatch(), CacheControlRecord::UpdateMatch(), and CongestionControlRecord::validate().