LLVM  14.0.0git
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 DataType & getValue () 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 560 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

◆ compare() [2/2]

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

Implements llvm::cl::GenericOptionValue.

Definition at line 586 of file CommandLine.h.

◆ getValue()

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

Definition at line 574 of file CommandLine.h.

◆ hasValue()

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

Definition at line 572 of file CommandLine.h.

◆ 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 579 of file CommandLine.h.


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