LLVM  8.0.1
Public Member Functions | List of all members
llvm::cl::OptionValue< DataType > Struct Template Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::OptionValue< DataType >:
Inheritance graph
[legend]
Collaboration diagram for llvm::cl::OptionValue< DataType >:
Collaboration graph
[legend]

Public Member Functions

 OptionValue ()=default
 
 OptionValue (const DataType &V)
 
template<class DT >
OptionValue< DataType > & operator= (const DT &V)
 
- Public Member Functions inherited from llvm::cl::OptionValueBase< DataType, std::is_class< DataType >::value >
bool hasValue () const
 
const DataTypegetValue () const
 
void setValue (const DT &)
 
bool compare (const DataType &) const
 
bool compare (const GenericOptionValue &) const override
 

Additional Inherited Members

- Public Types inherited from llvm::cl::OptionValueBase< DataType, std::is_class< DataType >::value >
using WrapperType = OptionValue< DataType >
 
- Protected Member Functions inherited from llvm::cl::OptionValueBase< DataType, std::is_class< DataType >::value >
 ~OptionValueBase ()=default
 
- Protected Member Functions inherited from llvm::cl::GenericOptionValue
 GenericOptionValue ()=default
 
 GenericOptionValue (const GenericOptionValue &)=default
 
GenericOptionValueoperator= (const GenericOptionValue &)=default
 
 ~GenericOptionValue ()=default
 

Detailed Description

template<class DataType>
struct llvm::cl::OptionValue< DataType >

Definition at line 479 of file CommandLine.h.

Constructor & Destructor Documentation

◆ OptionValue() [1/2]

template<class DataType>
llvm::cl::OptionValue< DataType >::OptionValue ( )
default

◆ OptionValue() [2/2]

template<class DataType>
llvm::cl::OptionValue< DataType >::OptionValue ( const DataType V)
inline

Definition at line 559 of file CommandLine.h.

Member Function Documentation

◆ operator=()

template<class DataType>
template<class DT >
OptionValue<DataType>& llvm::cl::OptionValue< DataType >::operator= ( const DT &  V)
inline

Definition at line 562 of file CommandLine.h.


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