319 lines
18 KiB
HTML
319 lines
18 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::ArgumentParser</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::ArgumentParser</A></H2></H2><HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.1">ArgumentParser</A></B>(int* <!1><A HREF="ArgumentParser.html#DOC.2.6.5">argc</A>, char** <!1><A HREF="ArgumentParser.html#DOC.2.6.6">argv</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.6.2">setApplicationUsage</A></B>(<!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* usage)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* <B><A HREF="#DOC.2.6.3">getApplicationUsage</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* <B><A HREF="#DOC.2.6.4">getApplicationUsage</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int& <B><A HREF="#DOC.2.6.5">argc</A></B>()
|
|
<DD><I>return the argument count</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>char** <B><A HREF="#DOC.2.6.6">argv</A></B>()
|
|
<DD><I>return the argument array</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>char* <B><A HREF="#DOC.2.6.7">operator [] </A></B>(int pos)
|
|
<DD><I>return char* argument at specificed position</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const char* <B><A HREF="#DOC.2.6.8">operator [] </A></B>(int pos) const
|
|
<DD><I>return const char* argument at specificed position</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.6.9">getApplicationName</A></B>() const
|
|
<DD><I>return the application name, as specified by argv[0] </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.6.10">find</A></B>(const std::string& str) const
|
|
<DD><I>return the position of an occurance of a string in the argument list.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.11">match</A></B>(int pos, const std::string& str) const
|
|
<DD><I>return true if specified argument matches string</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.12">isOption</A></B>(int pos) const
|
|
<DD><I>return return true if specified parameter is an option in the form of -option or --option </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.13">isString</A></B>(int pos) const
|
|
<DD><I>return return true if specified parameter is an string, which can be any other string apart from an option</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.14">isNumber</A></B>(int pos) const
|
|
<DD><I>return return true if specified parameter is an number</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.15">containsOptions</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.6.16">remove</A></B>(int pos, int num=1)
|
|
<DD><I>remove one or more arguments from the argv argument list, and decrement the argc respectively</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.17">read</A></B>(const std::string& str)
|
|
<DD><I>search for an occurance of a string in the argument list, on sucess remove that occurance from the list and return true, otherwise return false</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.18">read</A></B>(const std::string& str, std::string& value1)
|
|
<DD><I>search for an occurance of a string in the argument list followed by a string, on sucess set the value string with the second parameters and then remove the two entries from the list and return true, otherwise return false</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.19">read</A></B>(const std::string& str, std::string& value1, std::string& value2)
|
|
<DD><I>search for an occurance of a string in the argument list followed by a two strings, on sucess set the value strings with the second & third parameters and then remove the three entries from the list and return true, otherwise return false</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.20">read</A></B>(const std::string& str, std::string& value1, std::string& value2, std::string& value3)
|
|
<DD><I>search for an occurance of a string in the argument list followed by a three strings, on sucess set the value strings with the second & third & fourth parameters and then remove the four entries from the list and return true, otherwise return false</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.21">read</A></B>(const std::string& str, float& value)
|
|
<DD><I>search for an occurance of a string in the argument list followed by a numeric value, on sucess set the values with the second parameter and then remove the two entries from the list and return true, otherwise return false</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.22">read</A></B>(const std::string& str, float& value1, float& value2)
|
|
<DD><I>search for an occurance of a string in the argument list followed by two numeric values, on sucess set the values with the second & third parameters and then remove the three entries from the list and return true, otherwise return false</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.23">read</A></B>(const std::string& str, float& value1, float& value2, float& value3)
|
|
<DD><I>search for an occurance of a string in the argument list followed by three numeric values, on sucess set the values with the second & third & fourth parameters and then remove the four entries from the list and return true, otherwise return false</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.26">errors</A></B>(<!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> severity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.1">BENIGN</A>) const
|
|
<DD><I>return the error flag, true if an error has occured when reading arguments</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.6.27">reportError</A></B>(const std::string& message, <!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> severity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.2">CRITICAL</A>)
|
|
<DD><I>report an error message by adding to the ErrorMessageMap</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.6.28">reportRemainingOptionsAsUnrecognized</A></B>(<!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> severity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.1">BENIGN</A>)
|
|
<DD><I>for each remaining option report it as an unrecongnized</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ArgumentParser.html#DOC.2.6.25">ErrorMessageMap</A>& <B><A HREF="#DOC.2.6.29">getErrorMessageMap</A></B>()
|
|
<DD><I>return the error message, if any has occured</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="ArgumentParser.html#DOC.2.6.25">ErrorMessageMap</A>& <B><A HREF="#DOC.2.6.30">getErrorMessageMap</A></B>() const
|
|
<DD><I>return the error message, if any has occured</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.6.31">writeErrorMessages</A></B>(std::ostream& output, <!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> sevrity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.1">BENIGN</A>)
|
|
<DD><I>write out error messages at an above specified </I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.6.24">ErrorSeverity</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map<std::string,<!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A>> <B><A HREF="#DOC.2.6.25">ErrorMessageMap</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int* <B><A HREF="#DOC.2.6.32">_argc</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>char** <B><A HREF="#DOC.2.6.33">_argv</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ArgumentParser.html#DOC.2.6.25">ErrorMessageMap</A> <B><A HREF="#DOC.2.6.34">_errorMessageMap</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* <B><A HREF="#DOC.2.6.35">_usage</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<DL>
|
|
|
|
<A NAME="ArgumentParser"></A>
|
|
<A NAME="DOC.2.6.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ArgumentParser(int* <!1><A HREF="ArgumentParser.html#DOC.2.6.5">argc</A>, char** <!1><A HREF="ArgumentParser.html#DOC.2.6.6">argv</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setApplicationUsage"></A>
|
|
<A NAME="DOC.2.6.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setApplicationUsage(<!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* usage)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getApplicationUsage"></A>
|
|
<A NAME="DOC.2.6.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* getApplicationUsage()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getApplicationUsage"></A>
|
|
<A NAME="DOC.2.6.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* getApplicationUsage() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="argc"></A>
|
|
<A NAME="DOC.2.6.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int& argc()</B></TT>
|
|
<DD>return the argument count
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="argv"></A>
|
|
<A NAME="DOC.2.6.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>char** argv()</B></TT>
|
|
<DD>return the argument array
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator [] "></A>
|
|
<A NAME="DOC.2.6.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>char* operator [] (int pos)</B></TT>
|
|
<DD>return char* argument at specificed position
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator [] "></A>
|
|
<A NAME="DOC.2.6.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const char* operator [] (int pos) const </B></TT>
|
|
<DD>return const char* argument at specificed position
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getApplicationName"></A>
|
|
<A NAME="DOC.2.6.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string getApplicationName() const </B></TT>
|
|
<DD>return the application name, as specified by argv[0]
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="find"></A>
|
|
<A NAME="DOC.2.6.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int find(const std::string& str) const </B></TT>
|
|
<DD>return the position of an occurance of a string in the argument list.
|
|
return -1 when no string is found.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="match"></A>
|
|
<A NAME="DOC.2.6.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool match(int pos, const std::string& str) const </B></TT>
|
|
<DD>return true if specified argument matches string
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isOption"></A>
|
|
<A NAME="DOC.2.6.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isOption(int pos) const </B></TT>
|
|
<DD>return return true if specified parameter is an option in the form of -option or --option
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isString"></A>
|
|
<A NAME="DOC.2.6.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isString(int pos) const </B></TT>
|
|
<DD>return return true if specified parameter is an string, which can be any other string apart from an option
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isNumber"></A>
|
|
<A NAME="DOC.2.6.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isNumber(int pos) const </B></TT>
|
|
<DD>return return true if specified parameter is an number
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="containsOptions"></A>
|
|
<A NAME="DOC.2.6.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool containsOptions() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="remove"></A>
|
|
<A NAME="DOC.2.6.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void remove(int pos, int num=1)</B></TT>
|
|
<DD>remove one or more arguments from the argv argument list, and decrement the argc respectively
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="read"></A>
|
|
<A NAME="DOC.2.6.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool read(const std::string& str)</B></TT>
|
|
<DD>search for an occurance of a string in the argument list, on sucess
|
|
remove that occurance from the list and return true, otherwise return false
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="read"></A>
|
|
<A NAME="DOC.2.6.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool read(const std::string& str, std::string& value1)</B></TT>
|
|
<DD>search for an occurance of a string in the argument list followed by a string,
|
|
on sucess set the value string with the second parameters and then
|
|
remove the two entries from the list and return true, otherwise return false
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="read"></A>
|
|
<A NAME="DOC.2.6.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool read(const std::string& str, std::string& value1, std::string& value2)</B></TT>
|
|
<DD>search for an occurance of a string in the argument list followed by a two strings,
|
|
on sucess set the value strings with the second & third parameters and then
|
|
remove the three entries from the list and return true, otherwise return false
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="read"></A>
|
|
<A NAME="DOC.2.6.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool read(const std::string& str, std::string& value1, std::string& value2, std::string& value3)</B></TT>
|
|
<DD>search for an occurance of a string in the argument list followed by a three strings,
|
|
on sucess set the value strings with the second & third & fourth parameters and then
|
|
remove the four entries from the list and return true, otherwise return false
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="read"></A>
|
|
<A NAME="DOC.2.6.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool read(const std::string& str, float& value)</B></TT>
|
|
<DD>search for an occurance of a string in the argument list followed by a numeric value,
|
|
on sucess set the values with the second parameter and then
|
|
remove the two entries from the list and return true, otherwise return false
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="read"></A>
|
|
<A NAME="DOC.2.6.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool read(const std::string& str, float& value1, float& value2)</B></TT>
|
|
<DD>search for an occurance of a string in the argument list followed by two numeric values,
|
|
on sucess set the values with the second & third parameters and then
|
|
remove the three entries from the list and return true, otherwise return false
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="read"></A>
|
|
<A NAME="DOC.2.6.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool read(const std::string& str, float& value1, float& value2, float& value3)</B></TT>
|
|
<DD>search for an occurance of a string in the argument list followed by three numeric values,
|
|
on sucess set the values with the second & third & fourth parameters and then
|
|
remove the four entries from the list and return true, otherwise return false
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ErrorSeverity"></A>
|
|
<A NAME="DOC.2.6.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum ErrorSeverity</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="BENIGN"></A>
|
|
<A NAME="DOC.2.6.24.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BENIGN</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="CRITICAL"></A>
|
|
<A NAME="DOC.2.6.24.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CRITICAL</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="ErrorMessageMap"></A>
|
|
<A NAME="DOC.2.6.25"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map<std::string,<!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A>> ErrorMessageMap</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="errors"></A>
|
|
<A NAME="DOC.2.6.26"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool errors(<!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> severity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.1">BENIGN</A>) const </B></TT>
|
|
<DD>return the error flag, true if an error has occured when reading arguments
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="reportError"></A>
|
|
<A NAME="DOC.2.6.27"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void reportError(const std::string& message, <!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> severity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.2">CRITICAL</A>)</B></TT>
|
|
<DD>report an error message by adding to the ErrorMessageMap
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="reportRemainingOptionsAsUnrecognized"></A>
|
|
<A NAME="DOC.2.6.28"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void reportRemainingOptionsAsUnrecognized(<!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> severity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.1">BENIGN</A>)</B></TT>
|
|
<DD>for each remaining option report it as an unrecongnized
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getErrorMessageMap"></A>
|
|
<A NAME="DOC.2.6.29"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ArgumentParser.html#DOC.2.6.25">ErrorMessageMap</A>& getErrorMessageMap()</B></TT>
|
|
<DD>return the error message, if any has occured
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getErrorMessageMap"></A>
|
|
<A NAME="DOC.2.6.30"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="ArgumentParser.html#DOC.2.6.25">ErrorMessageMap</A>& getErrorMessageMap() const </B></TT>
|
|
<DD>return the error message, if any has occured
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="writeErrorMessages"></A>
|
|
<A NAME="DOC.2.6.31"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void writeErrorMessages(std::ostream& output, <!1><A HREF="ArgumentParser.html#DOC.2.6.24">ErrorSeverity</A> sevrity=<!1><A HREF="ArgumentParser.html#DOC.2.6.24.1">BENIGN</A>)</B></TT>
|
|
<DD>write out error messages at an above specified
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_argc"></A>
|
|
<A NAME="DOC.2.6.32"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int* _argc</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_argv"></A>
|
|
<A NAME="DOC.2.6.33"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>char** _argv</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_errorMessageMap"></A>
|
|
<A NAME="DOC.2.6.34"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ArgumentParser.html#DOC.2.6.25">ErrorMessageMap</A> _errorMessageMap</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_usage"></A>
|
|
<A NAME="DOC.2.6.35"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ApplicationUsage.html">ApplicationUsage</A>* _usage</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
|
|
|
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
|
|
<BR>
|
|
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|