pvAccessCPP
7.1.7-dev
utils
pv
wildcard.h
1
/**
2
* Copyright - See the COPYRIGHT that is included with this distribution.
3
* pvAccessCPP is distributed subject to a Software License Agreement found
4
* in file LICENSE that is included with this distribution.
5
*/
6
7
/*******************************************************************
8
* Implementation of glob-style wildcard pattern matching.
9
* Supported wild-card characters: '*', '?'
10
*/
11
12
#
ifndef
WILDCARD_H
13
#
define
WILDCARD_H
14
15
#
include
<
shareLib
.
h
>
16
17
namespace
epics {
18
namespace
pvAccess {
19
20
/**
21
* Class which implements wildcard patterns and checks to see
22
* if a string matches a given pattern.
23
*/
24
class
epicsShareClass
Wildcard
25
{
26
27
public
:
28
29
/**
30
* This function implements wildcard pattern matching.
31
* @param wildcard Wildcard pattern to be used.
32
* @param test Value to test against the wildcard.
33
* @return 0 if wildcard does not match test. 1 - if wildcard
34
* matches test.
35
*/
36
static
int
wildcardfit (
const
char
*wildcard,
const
char
*test);
37
};
38
39
}
40
}
41
42
43
#
endif
epics::pvAccess::Wildcard
Class which implements wildcard patterns and checks to see if a string matches a given pattern...
Definition:
wildcard.h:24
Generated on Fri Mar 10 2023 11:47:16 for pvAccessCPP by
1.8.13