IntRange.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 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_ACLINTRANGE_H
10 #define SQUID_ACLINTRANGE_H
11 
12 #include "acl/Data.h"
13 #include "base/Range.h"
14 
15 #include <list>
16 
17 class ACLIntRange : public ACLData<int>
18 {
19 
20 public:
22 
23  virtual ~ACLIntRange();
24  virtual bool match(int);
25  virtual SBufList dump() const;
26  virtual void parse();
27  virtual bool empty() const;
28  virtual ACLData<int> *clone() const;
29 
30 private:
32  std::list<RangeType> ranges;
33 };
34 
35 #endif /* SQUID_ACLINTRANGE_H */
36 
virtual ~ACLIntRange()
Definition: IntRange.cc:76
std::list< RangeType > ranges
Definition: IntRange.h:32
ACLIntRange()
Definition: IntRange.h:21
Definition: Range.h:18
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
Range< int > RangeType
Definition: IntRange.h:31
virtual ACLData< int > * clone() const
Definition: IntRange.cc:68
virtual SBufList dump() const
Definition: IntRange.cc:80
virtual bool match(int)
Definition: IntRange.cc:55
std::list< SBuf > SBufList
Definition: forward.h:22
virtual bool empty() const
Definition: IntRange.cc:49
virtual void parse()
Definition: IntRange.cc:20

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors