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

#include <CommandLine.h>

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

Public Member Functions

 OptionValueCopy ()
 
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 ()=default
 
 OptionValueCopy (const OptionValueCopy &)=default
 
OptionValueCopyoperator= (const OptionValueCopy &)=default
 
- Protected Member Functions inherited from llvm::cl::GenericOptionValue
 ~GenericOptionValue ()=default
 
 GenericOptionValue ()=default
 
 GenericOptionValue (const GenericOptionValue &)=default
 
GenericOptionValueoperator= (const GenericOptionValue &)=default
 

Detailed Description

template<class DataType>
class llvm::cl::OptionValueCopy< DataType >

Definition at line 397 of file CommandLine.h.

Constructor & Destructor Documentation

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

Definition at line 407 of file CommandLine.h.

Member Function Documentation

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

Implements llvm::cl::GenericOptionValue.

Definition at line 423 of file CommandLine.h.

template<class DataType>
const DataType& llvm::cl::OptionValueCopy< DataType >::getValue ( ) const
inline
template<class DataType>
bool llvm::cl::OptionValueCopy< DataType >::hasValue ( ) const
inline
template<class DataType>
OptionValueCopy& llvm::cl::OptionValueCopy< DataType >::operator= ( const OptionValueCopy< DataType > &  )
protecteddefault
template<class DataType>
void llvm::cl::OptionValueCopy< DataType >::setValue ( const DataType V)
inline

Definition at line 416 of file CommandLine.h.


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