Wildcard − |
#include <acsutilWildcard.h> |
Static Public Member Functions |
static int wildcardfit (const char *wildcard, const char *test) |
Static Private Member Functions |
static int set (const char **wildcard, const char **test) |
static int asterisk (const char **wildcard, const char **test) |
Class which implements UNIX style wildcards and tests to see if strings match the wildcard. |
static int Wildcard::asterisk (const char ** wildcard, const char ** test) [static, private] Scans an asterisk. |
Parameters: |
wildcard UNIX style wildcard to be used |
Returns: |
??? |
static int Wildcard::set (const char ** wildcard, const char ** test) [static, private] Scans a set of characters and returns 0 if the set mismatches at this position in the teststring and 1 if it is matching wildcard is set to the closing ] and test is unmodified if mismatched and otherwise the char pointer is pointing to the next character |
Parameters: |
wildcard UNIX style wildcard to be used |
Returns: |
0 if the set mismatches. 1 otherwise. |
static int Wildcard::wildcardfit (const char * wildcard, const char * test) [static] This function implements the UN*X wildcards. |
Parameters: |
wildcard Wildcard to be used. |
Returns: |
0 if wildcard does not match *test. 1 - if wildcard matches test. |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |