#include <XrdOucArgs.hh>
Public Member Functions | |
char * | getarg () |
char | getopt () |
void | Set (char *arglist) |
void | Set (int argc, char **argv) |
XrdOucArgs (XrdSysError *erp, const char *etxt, const char *StdOpts, const char *optw=0,...) | |
~XrdOucArgs () | |
Public Attributes | |
char * | argval |
Private Attributes | |
XrdOucTokenizer | arg_stream |
XrdSysError * | eDest |
char * | epfx |
XrdOucArgsXO * | optp |
char * | vopts |
char * | curopt |
int | inStream |
int | endopts |
int | Argc |
int | Aloc |
char ** | Argv |
char | missarg |
Definition at line 23 of file XrdOucArgs.hh.
XrdOucArgs::XrdOucArgs | ( | XrdSysError * | erp, | |
const char * | etxt, | |||
const char * | StdOpts, | |||
const char * | optw = 0 , |
|||
... | ||||
) |
XrdOucArgs::~XrdOucArgs | ( | ) |
char * XrdOucArgs::getarg | ( | ) |
Definition at line 120 of file XrdOucArgs.cc.
References Aloc, arg_stream, Argc, Argv, argval, XrdOucTokenizer::GetToken(), and inStream.
Referenced by XrdFrmAdmin::Audit(), XrdCnsSsiCfg::Configure(), XrdCnsConfig::Configure(), XrdFrmAdmin::FindFail(), XrdFrmAdmin::FindNolk(), XrdFrmAdmin::FindUnmi(), XrdFrmAdmin::MakeLF(), XrdFrmAdmin::Parse(), XrdFrmAdmin::Pin(), XrdFrmAdmin::QueryPfn(), XrdFrmAdmin::QueryRfn(), XrdFrmAdmin::QuerySpace(), XrdFrmAdmin::QueryUsage(), XrdFrmAdmin::QueryXfrQ(), and XrdFrmAdmin::Remove().
char XrdOucArgs::getopt | ( | ) |
Definition at line 135 of file XrdOucArgs.cc.
References Aloc, arg_stream, Argc, Argv, argval, curopt, eDest, endopts, epfx, XrdOucTokenizer::GetToken(), inStream, missarg, optp, XrdOucTokenizer::RetToken(), XrdSysError::Say(), sprintf(), and vopts.
Referenced by XrdCnsSsiCfg::Configure(), XrdCnsConfig::Configure(), and XrdFrmAdmin::Parse().
void XrdOucArgs::Set | ( | char * | arglist | ) |
Definition at line 220 of file XrdOucArgs.cc.
References arg_stream, XrdOucTokenizer::Attach(), curopt, endopts, XrdOucTokenizer::GetLine(), and inStream.
Referenced by XrdCnsSsiCfg::Configure(), XrdCnsConfig::Configure(), and XrdFrmAdmin::Parse().
void XrdOucArgs::Set | ( | int | argc, | |
char ** | argv | |||
) |
char* XrdOucArgs::argval |
Definition at line 84 of file XrdOucArgs.hh.
Referenced by XrdCnsSsiCfg::Configure(), XrdCnsConfig::Configure(), getarg(), getopt(), and XrdFrmAdmin::Parse().
XrdOucTokenizer XrdOucArgs::arg_stream [private] |
XrdSysError* XrdOucArgs::eDest [private] |
char* XrdOucArgs::epfx [private] |
Definition at line 90 of file XrdOucArgs.hh.
Referenced by getopt(), XrdOucArgs(), and ~XrdOucArgs().
XrdOucArgsXO* XrdOucArgs::optp [private] |
Definition at line 91 of file XrdOucArgs.hh.
Referenced by getopt(), XrdOucArgs(), and ~XrdOucArgs().
char* XrdOucArgs::vopts [private] |
Definition at line 92 of file XrdOucArgs.hh.
Referenced by getopt(), XrdOucArgs(), and ~XrdOucArgs().
char* XrdOucArgs::curopt [private] |
int XrdOucArgs::inStream [private] |
Definition at line 94 of file XrdOucArgs.hh.
Referenced by getarg(), getopt(), Set(), and XrdOucArgs().
int XrdOucArgs::endopts [private] |
int XrdOucArgs::Argc [private] |
Definition at line 96 of file XrdOucArgs.hh.
Referenced by getarg(), getopt(), Set(), and XrdOucArgs().
int XrdOucArgs::Aloc [private] |
Definition at line 97 of file XrdOucArgs.hh.
Referenced by getarg(), getopt(), Set(), and XrdOucArgs().
char** XrdOucArgs::Argv [private] |
char XrdOucArgs::missarg [private] |