Logo Search packages:      
Sourcecode: passwordmaker-cli version File versions  Download package

bool TCLAP::Arg::argMatches ( const std::string &  s ) const [inline, virtual, inherited]

A method that tests whether a string matches this argument. This is generally called by the processArg() method. This method could be re-implemented by a child to change how arguments are specified on the command line.

s- The string to be compared to the flag/name to determine whether the arg matches.

Definition at line 486 of file Arg.h.

References TCLAP::Arg::_flag, TCLAP::Arg::_name, TCLAP::Arg::flagStartString(), and TCLAP::Arg::nameStartString().

Referenced by TCLAP::SwitchArg::processArg().

      if ( ( argFlag == Arg::flagStartString() + _flag && _flag != "" ) ||
             argFlag == Arg::nameStartString() + _name )
            return true;
            return false;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index