LLVM API Documentation

Classes | Public Member Functions | Protected Attributes
llvm::cl::generic_parser_base Class Reference

#include <CommandLine.h>

Inheritance diagram for llvm::cl::generic_parser_base:
Inheritance graph
[legend]
Collaboration diagram for llvm::cl::generic_parser_base:
Collaboration graph
[legend]

List of all members.

Classes

class  GenericOptionInfo

Public Member Functions

virtual ~generic_parser_base ()
virtual unsigned getNumOptions () const =0
virtual const char * getOption (unsigned N) const =0
virtual const char * getDescription (unsigned N) const =0
virtual size_t getOptionWidth (const Option &O) const
virtual const GenericOptionValuegetOptionValue (unsigned N) const =0
virtual void printOptionInfo (const Option &O, size_t GlobalWidth) const
void printGenericOptionDiff (const Option &O, const GenericOptionValue &V, const GenericOptionValue &Default, size_t GlobalWidth) const
template<class AnyOptionValue >
void printOptionDiff (const Option &O, const AnyOptionValue &V, const AnyOptionValue &Default, size_t GlobalWidth) const
void initialize (Option &O)
void getExtraOptionNames (SmallVectorImpl< const char * > &OptionNames)
enum ValueExpected getValueExpectedFlagDefault () const
unsigned findOption (const char *Name)

Protected Attributes

bool hasArgStr

Detailed Description

Definition at line 538 of file CommandLine.h.


Constructor & Destructor Documentation

Definition at line 548 of file CommandLine.h.


Member Function Documentation

virtual const char* llvm::cl::generic_parser_base::getDescription ( unsigned  N) const [pure virtual]
void llvm::cl::generic_parser_base::getExtraOptionNames ( SmallVectorImpl< const char * > &  OptionNames) [inline]
virtual unsigned llvm::cl::generic_parser_base::getNumOptions ( ) const [pure virtual]
virtual const char* llvm::cl::generic_parser_base::getOption ( unsigned  N) const [pure virtual]
size_t generic_parser_base::getOptionWidth ( const Option O) const [virtual]

Definition at line 603 of file CommandLine.h.

References hasArgStr, llvm::cl::ValueDisallowed, and llvm::cl::ValueRequired.

void generic_parser_base::printGenericOptionDiff ( const Option O,
const GenericOptionValue V,
const GenericOptionValue Default,
size_t  GlobalWidth 
) const
template<class AnyOptionValue >
void llvm::cl::generic_parser_base::printOptionDiff ( const Option O,
const AnyOptionValue &  V,
const AnyOptionValue &  Default,
size_t  GlobalWidth 
) const [inline]
void generic_parser_base::printOptionInfo ( const Option O,
size_t  GlobalWidth 
) const [virtual]

Member Data Documentation


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