ROOT 6.14/05 Reference Guide |
Definition at line 154 of file XrdProofdAux.h.
Public Member Functions | |
XrdProofdMultiStr (const char *s) | |
virtual | ~XrdProofdMultiStr () |
XrdOucString | Export () |
Return a string with comma-separated elements. More... | |
XrdOucString | Get (int i) |
Return i-th combination (i : 0 -> fN-1) More... | |
bool | IsValid () const |
bool | Matches (const char *s) |
Return true if 's' is compatible with this multi-string. More... | |
int | N () const |
Private Member Functions | |
void | Init (const char *s) |
Init the multi-string handler. More... | |
Private Attributes | |
XrdOucString | fHead |
int | fN |
XrdOucString | fTail |
std::list< XrdProofdMultiStrToken > | fTokens |
#include <XrdProofdAux.h>
|
inline |
Definition at line 163 of file XrdProofdAux.h.
|
inlinevirtual |
Definition at line 164 of file XrdProofdAux.h.
XrdOucString XrdProofdMultiStr::Export | ( | ) |
Return a string with comma-separated elements.
Definition at line 2027 of file XrdProofdAux.cxx.
XrdOucString XrdProofdMultiStr::Get | ( | int | i | ) |
Return i-th combination (i : 0 -> fN-1)
Definition at line 2053 of file XrdProofdAux.cxx.
|
private |
Init the multi-string handler.
Supported formats: <head>[1-4]<tail> for <head>1<tail>, ..., <head>4<tail> (4 items) <head>[a,b]<tail> for <head>a<tail>, <head>b<tail> (2 items) <head>[a,1-3]<tail> for <head>a<tail>, <head>1<tail>, <head>2<tail>, <head>3<tail> (4 items) <head>[01-15]<tail> for <head>01<tail>, ..., <head>15<tail> (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 1963 of file XrdProofdAux.cxx.
|
inline |
Definition at line 167 of file XrdProofdAux.h.
bool XrdProofdMultiStr::Matches | ( | const char * | s | ) |
Return true if 's' is compatible with this multi-string.
Definition at line 2004 of file XrdProofdAux.cxx.
|
inline |
Definition at line 169 of file XrdProofdAux.h.
|
private |
Definition at line 156 of file XrdProofdAux.h.
|
private |
Definition at line 159 of file XrdProofdAux.h.
|
private |
Definition at line 157 of file XrdProofdAux.h.
|
private |
Definition at line 158 of file XrdProofdAux.h.