#include <TimeData.h>
Public Member Functions | |
ACLTimeData () | |
~ACLTimeData () override | |
bool | match (time_t) override |
SBufList | dump () const override |
void | parse () override |
bool | empty () const override |
virtual const Acl::Options & | lineOptions () |
supported ACL "line" options (e.g., "-i") More... | |
virtual void | prepareForUse () |
Private Member Functions | |
MEMPROXY_CLASS (ACLTimeData) | |
Private Attributes | |
int | weekbits |
int | start |
int | stop |
ACLTimeData * | next |
Detailed Description
Definition at line 15 of file TimeData.h.
Constructor & Destructor Documentation
◆ ACLTimeData()
ACLTimeData::ACLTimeData | ( | ) |
Definition at line 29 of file TimeData.cc.
Referenced by parse().
◆ ~ACLTimeData()
|
override |
Definition at line 31 of file TimeData.cc.
References next.
Member Function Documentation
◆ dump()
|
overridevirtual |
Implements ACLData< time_t >.
Definition at line 68 of file TimeData.cc.
References ACL_FRIDAY, ACL_MONDAY, ACL_SATURDAY, ACL_SUNDAY, ACL_THURSDAY, ACL_TUESDAY, ACL_WEDNESDAY, next, SBuf::Printf(), start, stop, and weekbits.
◆ empty()
|
overridevirtual |
Implements ACLData< time_t >.
Definition at line 214 of file TimeData.cc.
◆ lineOptions()
|
inlinevirtualinherited |
◆ match()
|
overridevirtual |
Implements ACLData< time_t >.
Definition at line 38 of file TimeData.cc.
◆ MEMPROXY_CLASS()
|
private |
◆ parse()
|
overridevirtual |
Implements ACLData< time_t >.
Definition at line 92 of file TimeData.cc.
References ACLTimeData(), ACL_ALLWEEK, ACL_FRIDAY, ACL_MONDAY, ACL_SATURDAY, ACL_SUNDAY, ACL_THURSDAY, ACL_TUESDAY, ACL_WEDNESDAY, ACL_WEEKDAYS, cfg_filename, config_input_line, config_lineno, DBG_CRITICAL, debugs, next, self_destruct(), start, stop, ConfigParser::strtokFile(), and weekbits.
◆ prepareForUse()
|
inlinevirtualinherited |
Member Data Documentation
◆ next
|
private |
Definition at line 31 of file TimeData.h.
Referenced by ~ACLTimeData(), dump(), match(), and parse().
◆ start
|
private |
Definition at line 29 of file TimeData.h.
◆ stop
|
private |
Definition at line 30 of file TimeData.h.
◆ weekbits
|
private |
Definition at line 28 of file TimeData.h.
The documentation for this class was generated from the following files:
- src/acl/TimeData.h
- src/acl/TimeData.cc