LLVM API Documentation

Public Types | Public Member Functions
llvm::cl::OptionValueBase< DataType, isClass > Struct Template Reference

#include <CommandLine.h>

Inheritance diagram for llvm::cl::OptionValueBase< DataType, isClass >:
Inheritance graph
[legend]
Collaboration diagram for llvm::cl::OptionValueBase< DataType, isClass >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef OptionValue< DataTypeWrapperType

Public Member Functions

bool hasValue () const
const DataTypegetValue () const
template<class DT >
void setValue (const DT &)
bool compare (const DataType &) const
bool compare (const GenericOptionValue &) const override

Detailed Description

template<class DataType, bool isClass>
struct llvm::cl::OptionValueBase< DataType, isClass >

Definition at line 368 of file CommandLine.h.


Member Typedef Documentation

template<class DataType, bool isClass>
typedef OptionValue<DataType> llvm::cl::OptionValueBase< DataType, isClass >::WrapperType

Definition at line 370 of file CommandLine.h.


Member Function Documentation

template<class DataType, bool isClass>
bool llvm::cl::OptionValueBase< DataType, isClass >::compare ( const DataType ) const [inline]

Definition at line 380 of file CommandLine.h.

template<class DataType, bool isClass>
bool llvm::cl::OptionValueBase< DataType, isClass >::compare ( const GenericOptionValue ) const [inline, override, virtual]

Implements llvm::cl::GenericOptionValue.

Definition at line 382 of file CommandLine.h.

template<class DataType, bool isClass>
const DataType& llvm::cl::OptionValueBase< DataType, isClass >::getValue ( ) const [inline]

Definition at line 374 of file CommandLine.h.

template<class DataType, bool isClass>
bool llvm::cl::OptionValueBase< DataType, isClass >::hasValue ( ) const [inline]

Definition at line 372 of file CommandLine.h.

template<class DataType, bool isClass>
template<class DT >
void llvm::cl::OptionValueBase< DataType, isClass >::setValue ( const DT &  ) [inline]

Definition at line 378 of file CommandLine.h.


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