QC_GetOpt.dox.h
namespace Qore {
/***/
class GetOpt {
public:
constructor(hash options);
public:
copy();
public:
hash parse(reference<list<string>> pgm_args);
public:
hash parse(softlist pgm_args);
public:
hash parse2(reference<list<string>> pgm_args);
public:
hash parse2(softlist pgm_args);
public:
hash parse3(reference<list<string>> pgm_args);
public:
hash parse3(softlist pgm_args);
};
};
Qore::GetOpt::constructor
constructor(hash options)
Creates the GetOpt object and sets the option hash with the single required argument.
Qore::GetOpt::parse2
hash parse2(reference< list< string >> pgm_args)
Parses the parameter list according to the option hash passed to the constructor. ...
Qore::GetOpt::parse3
hash parse3(reference< list< string >> pgm_args)
Parses the parameter list according to the option hash passed to the constructor and displays an expl...
Qore::GetOpt::parse
hash parse(reference< list< string >> pgm_args)
Parses the parameter list according to the option hash passed to the constructor. ...
Qore::GetOpt::copy
copy()
Throws an exception; objects of this class cannot be copied.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
Qore::hash
hash hash(object obj)
Returns a hash of an object&#39;s members.
Qore::GetOpt
The GetOpt class provides an easy way to process POSIX-style command-line options in Qore scripts/pro...
Definition: QC_GetOpt.dox.h:5