LLVM  8.0.1
Public Member Functions | Protected Member Functions | List of all members
llvm::cl::OptionValueCopy< DataType > Class Template Reference

#include "llvm/Support/CommandLine.h"

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

Public Member Functions

 OptionValueCopy ()=default
 
bool hasValue () const
 
const DataTypegetValue () const
 
void setValue (const DataType &V)
 
bool compare (const DataType &V) const
 
bool compare (const GenericOptionValue &V) const override
 

Protected Member Functions

 OptionValueCopy (const OptionValueCopy &)=default
 
OptionValueCopyoperator= (const OptionValueCopy &)=default
 
 ~OptionValueCopy ()=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>
class llvm::cl::OptionValueCopy< DataType >

Definition at line 506 of file CommandLine.h.

Constructor & Destructor Documentation

◆ OptionValueCopy() [1/2]

template<class DataType>
llvm::cl::OptionValueCopy< DataType >::OptionValueCopy ( const OptionValueCopy< DataType > &  )
protecteddefault

◆ ~OptionValueCopy()

template<class DataType>
llvm::cl::OptionValueCopy< DataType >::~OptionValueCopy ( )
protecteddefault

◆ OptionValueCopy() [2/2]

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

Member Function Documentation

◆ compare() [1/2]

template<class DataType>
bool llvm::cl::OptionValueCopy< DataType >::compare ( const DataType V) const
inline

Definition at line 530 of file CommandLine.h.

◆ compare() [2/2]

template<class DataType>
bool llvm::cl::OptionValueCopy< DataType >::compare ( const GenericOptionValue V) const
inlineoverridevirtual

Implements llvm::cl::GenericOptionValue.

Definition at line 532 of file CommandLine.h.

◆ getValue()

template<class DataType>
const DataType& llvm::cl::OptionValueCopy< DataType >::getValue ( ) const
inline

◆ hasValue()

template<class DataType>
bool llvm::cl::OptionValueCopy< DataType >::hasValue ( ) const
inline

◆ operator=()

template<class DataType>
OptionValueCopy& llvm::cl::OptionValueCopy< DataType >::operator= ( const OptionValueCopy< DataType > &  )
protecteddefault

◆ setValue()

template<class DataType>
void llvm::cl::OptionValueCopy< DataType >::setValue ( const DataType V)
inline

Definition at line 525 of file CommandLine.h.


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