Definition at line 129 of file XrdProofdAux.h.
Public Types | |
| enum | ETokenType { kUndef , kSimple , kLetter , kDigit , kDigits } |
Public Member Functions | |
| XrdProofdMultiStrToken (const char *s=0) | |
| virtual | ~XrdProofdMultiStrToken () |
| XrdOucString | Export (int &next) |
| Export 'next' token; use next < 0 start from the first. | |
| bool | IsValid () const |
| bool | Matches (const char *s) |
| Return true if 's' is compatible with this token. | |
| int | N () const |
Private Member Functions | |
| void | Init (const char *s) |
| Init the multi-string token. | |
Private Attributes | |
| XrdOucString | fA |
| XrdOucString | fB |
| long | fIa |
| long | fIb |
| int | fN |
| int | fType |
#include <XrdProofdAux.h>
| Enumerator | |
|---|---|
| kUndef | |
| kSimple | |
| kLetter | |
| kDigit | |
| kDigits | |
Definition at line 140 of file XrdProofdAux.h.
|
inline |
Definition at line 142 of file XrdProofdAux.h.
|
inlinevirtual |
Definition at line 143 of file XrdProofdAux.h.
| XrdOucString XrdProofdMultiStrToken::Export | ( | int & | next | ) |
Export 'next' token; use next < 0 start from the first.
Definition at line 2215 of file XrdProofdAux.cxx.
|
private |
Init the multi-string token.
Supported formats: [1-4] for 1, ..., 4 (4 items) [a,b] for a, b<tail> (2 items) [a,1-3] for a, 1, 2, 3 (4 items) [01-15] for 01, ..., 15 (15 items)
A dashed is possible only between numerically treatable values, i.e. single letters ([a-Z] will take all tokens between 'a' and 'Z') or n-field numbers ([001-999] will take all numbers 1 to 999 always using 3 spaces). Mixed values (e.g. [a-034]) are not allowed.
Definition at line 2090 of file XrdProofdAux.cxx.
|
inline |
Definition at line 146 of file XrdProofdAux.h.
Return true if 's' is compatible with this token.
Definition at line 2180 of file XrdProofdAux.cxx.
|
inline |
Definition at line 148 of file XrdProofdAux.h.
|
private |
Definition at line 133 of file XrdProofdAux.h.
|
private |
Definition at line 134 of file XrdProofdAux.h.
|
private |
Definition at line 131 of file XrdProofdAux.h.
|
private |
Definition at line 132 of file XrdProofdAux.h.
|
private |
Definition at line 136 of file XrdProofdAux.h.
|
private |
Definition at line 135 of file XrdProofdAux.h.