#include <Patterns.h>
Public Member Functions | |
| Patterns () | |
| virtual | ~Patterns () |
| virtual bool | IPv4subnet (const UtlString ipv4, const UtlString cidr) const |
| Matches IPv4 addressess to CIDR specified subnets. | |
| virtual bool | DnsWildcard (const UtlString fqdn, const UtlString wildcard) |
| Matches FQDN to DNS wildcards. | |
Protected Attributes | |
| UtlHashMap | mPatterns |
| Patterns | ( | ) |
| ~Patterns | ( | ) | [virtual] |
Matches IPv4 addressess to CIDR specified subnets.
| ipv4 | An IPv4 dotted quad to be matched |
| cidr | A subnet specified in CIDR notation: x.y.z.q/size x.y.z/size x.y/size x/size size is 1..32 |
Matches FQDN to DNS wildcards.
| wildcard | A "wildcard" domain name, where the *. prefix will match any sub-domain of that domain. ('*.pingtel.com') A lone '*' matches any |
UtlHashMap mPatterns [protected] |