struct OptionValueBase
Declaration
template <class DataType, bool isClass>
struct OptionValueBase : public GenericOptionValue { /* full declaration omitted */ };Declared at: llvm/include/llvm/Support/CommandLine.h:533
Inherits from: GenericOptionValue
Templates
- DataType
 - bool isClass
 
Method Overview
- public bool compare(const DataType &) const
 - public bool compare(const llvm::cl::GenericOptionValue &) const
 - public const DataType & getValue() const
 - public bool hasValue() const
 - public template <class DT>void setValue(const DT &)
 - protected ~OptionValueBase<DataType, isClass>()
 
Inherited from GenericOptionValue:
Methods
¶bool compare(const DataType&) const
bool compare(const DataType&) constDeclared at: llvm/include/llvm/Support/CommandLine.h:544
Parameters
- const DataType&
 
¶bool compare(
    const llvm::cl::GenericOptionValue&) const
bool compare(
    const llvm::cl::GenericOptionValue&) constDeclared at: llvm/include/llvm/Support/CommandLine.h:546
Parameters
- const llvm::cl::GenericOptionValue&
 
¶const DataType& getValue() const
const DataType& getValue() constDeclared at: llvm/include/llvm/Support/CommandLine.h:539
¶bool hasValue() const
bool hasValue() constDeclared at: llvm/include/llvm/Support/CommandLine.h:537
¶template <class DT>
void setValue(const DT&)
template <class DT>
void setValue(const DT&)Declared at: llvm/include/llvm/Support/CommandLine.h:542
Templates
- DT
 
Parameters
- const DT&
 
¶~OptionValueBase<DataType, isClass>()
~OptionValueBase<DataType, isClass>()Declared at: llvm/include/llvm/Support/CommandLine.h:551