llvm::cl::parser< DataType > Class Template Reference

#include <CommandLine.h>

Inheritance diagram for llvm::cl::parser< DataType >:
llvm::cl::generic_parser_base

List of all members.

Classes

class  OptionInfo

Public Types

typedef DataType parser_data_type

Public Member Functions

unsigned getNumOptions () const
const char * getOption (unsigned N) const
const char * getDescription (unsigned N) const
virtual const GenericOptionValuegetOptionValue (unsigned N) const
bool parse (Option &O, StringRef ArgName, StringRef Arg, DataType &V)
template<class DT >
void addLiteralOption (const char *Name, const DT &V, const char *HelpStr)
 addLiteralOption - Add an entry to the mapping table.
void removeLiteralOption (const char *Name)
 removeLiteralOption - Remove the specified option.

Protected Attributes

SmallVector< OptionInfo, 8 > Values

template<class DataType>
class llvm::cl::parser< DataType >


Member Typedef Documentation

template<class DataType>
typedef DataType llvm::cl::parser< DataType >::parser_data_type

Member Function Documentation

template<class DataType>
template<class DT >
void llvm::cl::parser< DataType >::addLiteralOption ( const char *  Name,
const DT &  V,
const char *  HelpStr 
) [inline]

addLiteralOption - Add an entry to the mapping table.

template<class DataType>
const char* llvm::cl::parser< DataType >::getDescription ( unsigned  N  )  const [inline, virtual]
template<class DataType>
unsigned llvm::cl::parser< DataType >::getNumOptions (  )  const [inline, virtual]
template<class DataType>
const char* llvm::cl::parser< DataType >::getOption ( unsigned  N  )  const [inline, virtual]
template<class DataType>
virtual const GenericOptionValue& llvm::cl::parser< DataType >::getOptionValue ( unsigned  N  )  const [inline, virtual]
template<class DataType>
bool llvm::cl::parser< DataType >::parse ( Option O,
StringRef  ArgName,
StringRef  Arg,
DataType &  V 
) [inline]
template<class DataType>
void llvm::cl::parser< DataType >::removeLiteralOption ( const char *  Name  )  [inline]

removeLiteralOption - Remove the specified option.


Member Data Documentation

template<class DataType>
SmallVector<OptionInfo, 8> llvm::cl::parser< DataType >::Values [protected]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1