ROOT
6.07/01
Reference Guide
|
Definition at line 132 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. More... | |
bool | IsValid () const |
bool | Matches (const char *s) |
Return true if 's' is compatible with this token. More... | |
int | N () const |
Private Member Functions | |
void | Init (const char *s) |
Init the multi-string token. More... | |
Private Attributes | |
long | fIa |
long | fIb |
XrdOucString | fA |
XrdOucString | fB |
int | fType |
int | fN |
#include <XrdProofdAux.h>
Enumerator | |
---|---|
kUndef | |
kSimple | |
kLetter | |
kDigit | |
kDigits |
Definition at line 143 of file XrdProofdAux.h.
|
inline |
Definition at line 145 of file XrdProofdAux.h.
|
inlinevirtual |
Definition at line 146 of file XrdProofdAux.h.
XrdOucString XrdProofdMultiStrToken::Export | ( | int & | next | ) |
Export 'next' token; use next < 0 start from the first.
Definition at line 2213 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 2088 of file XrdProofdAux.cxx.
Referenced by XrdProofdMultiStrToken().
|
inline |
Definition at line 149 of file XrdProofdAux.h.
bool XrdProofdMultiStrToken::Matches | ( | const char * | s | ) |
Return true if 's' is compatible with this token.
Definition at line 2178 of file XrdProofdAux.cxx.
|
inline |
Definition at line 151 of file XrdProofdAux.h.
|
private |
Definition at line 136 of file XrdProofdAux.h.
|
private |
Definition at line 137 of file XrdProofdAux.h.
Referenced by Init().
|
private |
Definition at line 134 of file XrdProofdAux.h.
|
private |
Definition at line 135 of file XrdProofdAux.h.
|
private |
Definition at line 139 of file XrdProofdAux.h.
|
private |