|
tclap 1.2.2
|
Classes | |
| class | Arg |
| A virtual base class that defines the essential data for all arguments. More... | |
| class | ArgException |
| A simple class that defines and argument exception. More... | |
| class | ArgParseException |
| Thrown from within the child Arg classes when it fails to properly parse the argument it has been passed. More... | |
| struct | ArgTraits |
| Arg traits are used to get compile type specialization when parsing argument values. More... | |
| struct | ArgTraits< bool > |
| bools have value-like semantics. More... | |
| struct | ArgTraits< char > |
| chars have value-like semantics. More... | |
| struct | ArgTraits< double > |
| doubles have value-like semantics. More... | |
| struct | ArgTraits< float > |
| floats have value-like semantics. More... | |
| struct | ArgTraits< int > |
| ints have value-like semantics. More... | |
| struct | ArgTraits< long > |
| longs have value-like semantics. More... | |
| struct | ArgTraits< short > |
| shorts have value-like semantics. More... | |
| struct | ArgTraits< std::string > |
| Strings have string like argument traits. More... | |
| struct | ArgTraits< unsigned char > |
| unsigned chars have value-like semantics. More... | |
| struct | ArgTraits< unsigned int > |
| unsigned ints have value-like semantics. More... | |
| struct | ArgTraits< unsigned long > |
| unsigned longs have value-like semantics. More... | |
| struct | ArgTraits< unsigned short > |
| unsigned shorts have value-like semantics. More... | |
| struct | ArgTraits< wchar_t > |
| wchar_ts have value-like semantics. More... | |
| class | CmdLine |
| The base class that manages the command line definition and passes along the parsing to the appropriate Arg classes. More... | |
| class | CmdLineInterface |
| The base class that manages the command line definition and passes along the parsing to the appropriate Arg classes. More... | |
| class | CmdLineOutput |
| The interface that any output object must implement. More... | |
| class | CmdLineParseException |
| Thrown from CmdLine when the arguments on the command line are not properly specified, e.g. More... | |
| class | Constraint |
| The interface that defines the interaction between the Arg and Constraint. More... | |
| class | DocBookOutput |
| A class that generates DocBook output for usage() method for the given CmdLine and its Args. More... | |
| class | ExitException |
| class | HelpVisitor |
| A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object. More... | |
| class | IgnoreRestVisitor |
| A Visitor that tells the CmdLine to begin ignoring arguments after this one is parsed. More... | |
| class | MultiArg |
| An argument that allows multiple values of type T to be specified. More... | |
| class | MultiSwitchArg |
| A multiple switch argument. More... | |
| class | OptionalUnlabeledTracker |
| class | SpecificationException |
| Thrown from Arg and CmdLine when an Arg is improperly specified, e.g. More... | |
| class | StdOutput |
| A class that isolates any output from the CmdLine object so that it may be easily modified. More... | |
| struct | StringLike |
| A string like argument value type is a value that can be set using operator=(string). More... | |
| struct | StringLikeTrait |
| A class can inherit from this object to make it have string like traits. More... | |
| class | SwitchArg |
| A simple switch argument. More... | |
| class | UnlabeledMultiArg |
| Just like a MultiArg, except that the arguments are unlabeled. More... | |
| class | UnlabeledValueArg |
| The basic unlabeled argument that parses a value. More... | |
| class | ValueArg |
| The basic labeled argument that parses a value. More... | |
| struct | ValueLike |
| A value like argument value type is a value that can be set using operator>>. More... | |
| struct | ValueLikeTrait |
| A class can inherit from this object to make it have value like traits. More... | |
| class | ValuesConstraint |
| A Constraint that constrains the Arg to only those values specified in the constraint. More... | |
| class | VersionVisitor |
| A Visitor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit. More... | |
| class | Visitor |
| A base class that defines the interface for visitors. More... | |
| class | XorHandler |
| This class handles lists of Arg's that are to be XOR'd on the command line. More... | |
| class | ZshCompletionOutput |
| A class that generates a Zsh completion function as output from the usage() method for the given CmdLine and its Args. More... | |
Typedefs | |
| typedef std::list< Arg * >::iterator | ArgListIterator |
| Typedef of an Arg list iterator. | |
| typedef std::vector< Arg * >::iterator | ArgVectorIterator |
| Typedef of an Arg vector iterator. | |
| typedef std::list< Visitor * >::iterator | VisitorListIterator |
| Typedef of a Visitor list iterator. | |
| typedef std::istringstream | istringstream |
| typedef std::ostringstream | ostringstream |
Functions | |
| template<typename T > | |
| void | ExtractValue (T &destVal, const std::string &strVal, ValueLike vl) |
| template<typename T > | |
| void | ExtractValue (T &destVal, const std::string &strVal, StringLike sl) |
| template<typename T > | |
| void | DelPtr (T ptr) |
| template<typename C > | |
| void | ClearContainer (C &c) |
| template<typename T > | |
| void | SetString (T &dst, const std::string &src) |
| typedef std::list<Arg*>::iterator TCLAP::ArgListIterator |
| typedef std::vector<Arg*>::iterator TCLAP::ArgVectorIterator |
| typedef std::istringstream TCLAP::istringstream |
| typedef std::ostringstream TCLAP::ostringstream |
| typedef std::list<Visitor*>::iterator TCLAP::VisitorListIterator |
Definition at line 58 of file CmdLine.h.
References DelPtr().
Referenced by TCLAP::CmdLine::~CmdLine().

| void TCLAP::DelPtr | ( | T | ptr | ) |
Definition at line 53 of file CmdLine.h.
Referenced by TCLAP::CmdLine::_emptyCombined(), TCLAP::MultiArg< T >::_extractValue(), TCLAP::ValueArg< T >::_extractValue(), TCLAP::StdOutput::_longUsage(), TCLAP::StdOutput::_shortUsage(), TCLAP::CmdLine::add(), TCLAP::CmdLine::add(), TCLAP::XorHandler::add(), TCLAP::UnlabeledMultiArg< T >::addToList(), TCLAP::UnlabeledValueArg< T >::addToList(), TCLAP::MultiArg< T >::allowMore(), TCLAP::DocBookOutput::basename(), TCLAP::ZshCompletionOutput::basename(), TCLAP::OptionalUnlabeledTracker::check(), TCLAP::XorHandler::check(), TCLAP::ValuesConstraint< T >::check(), ClearContainer(), TCLAP::SwitchArg::combinedSwitchesMatch(), TCLAP::XorHandler::contains(), TCLAP::CmdLine::deleteOnExit(), TCLAP::CmdLine::deleteOnExit(), TCLAP::DocBookOutput::failure(), TCLAP::StdOutput::failure(), TCLAP::ZshCompletionOutput::failure(), TCLAP::ZshCompletionOutput::getMutexList(), TCLAP::MultiSwitchArg::longID(), TCLAP::MultiArg< T >::longID(), TCLAP::UnlabeledMultiArg< T >::longID(), TCLAP::UnlabeledValueArg< T >::longID(), TCLAP::ValueArg< T >::longID(), TCLAP::CmdLine::missingArgsException(), TCLAP::MultiArg< T >::MultiArg(), TCLAP::MultiArg< T >::MultiArg(), TCLAP::MultiSwitchArg::MultiSwitchArg(), TCLAP::UnlabeledMultiArg< T >::operator==(), TCLAP::UnlabeledValueArg< T >::operator==(), TCLAP::CmdLine::parse(), TCLAP::CmdLine::parse(), TCLAP::ZshCompletionOutput::printArg(), TCLAP::DocBookOutput::printLongArg(), TCLAP::ZshCompletionOutput::printOption(), TCLAP::DocBookOutput::printShortArg(), TCLAP::MultiArg< T >::processArg(), TCLAP::MultiSwitchArg::processArg(), TCLAP::SwitchArg::processArg(), TCLAP::UnlabeledMultiArg< T >::processArg(), TCLAP::UnlabeledValueArg< T >::processArg(), TCLAP::ValueArg< T >::processArg(), TCLAP::ZshCompletionOutput::quoteSpecialChars(), TCLAP::DocBookOutput::removeChar(), TCLAP::CmdLine::reset(), TCLAP::CmdLine::setExceptionHandling(), TCLAP::CmdLine::setOutput(), SetString(), TCLAP::MultiSwitchArg::shortID(), TCLAP::MultiArg< T >::shortID(), TCLAP::UnlabeledMultiArg< T >::shortID(), TCLAP::UnlabeledValueArg< T >::shortID(), TCLAP::ValueArg< T >::shortID(), TCLAP::StdOutput::spacePrint(), TCLAP::DocBookOutput::substituteSpecialChars(), TCLAP::SwitchArg::SwitchArg(), TCLAP::UnlabeledMultiArg< T >::UnlabeledMultiArg(), TCLAP::UnlabeledMultiArg< T >::UnlabeledMultiArg(), TCLAP::UnlabeledMultiArg< T >::UnlabeledMultiArg(), TCLAP::UnlabeledMultiArg< T >::UnlabeledMultiArg(), TCLAP::UnlabeledValueArg< T >::UnlabeledValueArg(), TCLAP::UnlabeledValueArg< T >::UnlabeledValueArg(), TCLAP::UnlabeledValueArg< T >::UnlabeledValueArg(), TCLAP::UnlabeledValueArg< T >::UnlabeledValueArg(), TCLAP::DocBookOutput::usage(), TCLAP::ZshCompletionOutput::usage(), TCLAP::ValueArg< T >::ValueArg(), TCLAP::ValueArg< T >::ValueArg(), TCLAP::ValuesConstraint< T >::ValuesConstraint(), TCLAP::StdOutput::version(), TCLAP::CmdLine::xorAdd(), and TCLAP::CmdLine::xorAdd().
| void TCLAP::ExtractValue | ( | T & | destVal, |
| const std::string & | strVal, | ||
| StringLike | sl ) |
Definition at line 453 of file Arg.h.
References SetString().

Definition at line 416 of file Arg.h.
Referenced by TCLAP::MultiArg< T >::_extractValue(), and TCLAP::ValueArg< T >::_extractValue().
Definition at line 200 of file StandardTraits.h.
References DelPtr().
Referenced by ExtractValue().
