xrootd
Public Member Functions | Private Attributes
XrdMonArgParser::ArgImpl Class Reference

#include <XrdMonArgParser.hh>

Inheritance diagram for XrdMonArgParser::ArgImpl:
Inheritance graph
[legend]
Collaboration diagram for XrdMonArgParser::ArgImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ArgImpl (const char *theSwitch, T defaultValue, bool required=false)
virtual ~ArgImpl ()
virtual int parseArgs (int argc, char *argv[], int curArg)
virtual void throwIfRequiredButNotSet ()
myVal ()

Private Attributes

_value
const string _switch
bool _done
bool _required

Constructor & Destructor Documentation

XrdMonArgParser::ArgImpl::ArgImpl ( const char *  theSwitch,
defaultValue,
bool  required = false 
)
virtual XrdMonArgParser::ArgImpl::~ArgImpl ( ) [inline, virtual]

Member Function Documentation

T XrdMonArgParser::ArgImpl::myVal ( ) [inline]

References _value.

Referenced by main().

int XrdMonArgParser::ArgImpl::parseArgs ( int  argc,
char *  argv[],
int  curArg 
) [virtual]

Implements XrdMonArgParser::Arg.

References ERR_INVALIDARG.

void XrdMonArgParser::ArgImpl::throwIfRequiredButNotSet ( ) [virtual]

Implements XrdMonArgParser::Arg.

References ERR_INVALIDARG.


Member Data Documentation

const string XrdMonArgParser::ArgImpl::_switch [private]

Referenced by myVal().


The documentation for this class was generated from the following files: