RegexData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_ACLREGEXDATA_H
10 #define SQUID_ACLREGEXDATA_H
11 
12 #include "acl/Data.h"
13 
14 #include <list>
15 
16 class RegexPattern;
17 
18 class ACLRegexData : public ACLData<char const *>
19 {
21 
22 public:
23  virtual ~ACLRegexData();
24  virtual bool match(char const *user);
25  virtual SBufList dump() const;
26  virtual void parse();
27  virtual const Acl::ParameterFlags &supportedFlags() const;
28  virtual bool empty() const;
29  virtual ACLData<char const *> *clone() const;
30 
31 private:
32  std::list<RegexPattern> data;
33 };
34 
35 #endif /* SQUID_ACLREGEXDATA_H */
36 
virtual bool match(char const *user)
Definition: RegexData.cc:39
virtual SBufList dump() const
Definition: RegexData.cc:60
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
std::list< RegexPattern > data
Definition: RegexData.h:32
virtual void parse()
Definition: RegexData.cc:242
virtual bool empty() const
Definition: RegexData.cc:265
virtual ~ACLRegexData()
Definition: RegexData.cc:27
std::list< SBuf > SBufList
Definition: forward.h:26
std::set< OptionName, OptionNameCmp > ParameterFlags
a set of parameter flag names
Definition: Options.h:162
virtual const Acl::ParameterFlags & supportedFlags() const
Definition: RegexData.cc:32
MEMPROXY_CLASS(ACLRegexData)
virtual ACLData< char const * > * clone() const
Definition: RegexData.cc:271

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors