LLVM 22.0.0git
llvm::cl::OptionValueBase< DataType, false > Struct Template Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::OptionValueBase< DataType, false >:
[legend]

Public Types

using WrapperType = DataType

Public Member Functions

bool hasValue () const
const DataType & getValue () const
void setValue (const DT &)
bool compare (const DataType &) const
Public Member Functions inherited from llvm::cl::OptionValueCopy< DataType >
 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

 OptionValueBase ()=default
 OptionValueBase (const OptionValueBase &)=default
OptionValueBaseoperator= (const OptionValueBase &)=default
 ~OptionValueBase ()=default
Protected Member Functions inherited from llvm::cl::GenericOptionValue
 GenericOptionValue ()=default
 GenericOptionValue (const GenericOptionValue &)=default
GenericOptionValueoperator= (const GenericOptionValue &)=default
 ~GenericOptionValue ()=default
Protected Member Functions inherited from llvm::cl::OptionValueCopy< DataType >
 OptionValueCopy (const OptionValueCopy &)=default
OptionValueCopyoperator= (const OptionValueCopy &)=default
 ~OptionValueCopy ()=default

Detailed Description

template<class DataType>
struct llvm::cl::OptionValueBase< DataType, false >

Definition at line 613 of file CommandLine.h.

Member Typedef Documentation

◆ WrapperType

template<class DataType>
using llvm::cl::OptionValueBase< DataType, false >::WrapperType = DataType

Definition at line 614 of file CommandLine.h.

Constructor & Destructor Documentation

◆ OptionValueBase() [1/2]

template<class DataType>
llvm::cl::OptionValueBase< DataType, false >::OptionValueBase ( )
protecteddefault

Referenced by operator=(), and OptionValueBase().

◆ OptionValueBase() [2/2]

template<class DataType>
llvm::cl::OptionValueBase< DataType, false >::OptionValueBase ( const OptionValueBase< DataType, false > & )
protecteddefault

References OptionValueBase().

◆ ~OptionValueBase()

template<class DataType>
llvm::cl::OptionValueBase< DataType, false >::~OptionValueBase ( )
protecteddefault

Member Function Documentation

◆ compare()

bool llvm::cl::OptionValueBase< DataType, isClass >::compare ( const DataType & ) const
inline

Definition at line 564 of file CommandLine.h.

◆ getValue()

const DataType & llvm::cl::OptionValueBase< DataType, isClass >::getValue ( ) const
inline

Definition at line 558 of file CommandLine.h.

◆ hasValue()

bool llvm::cl::OptionValueBase< DataType, isClass >::hasValue ( ) const
inline

Definition at line 556 of file CommandLine.h.

◆ operator=()

template<class DataType>
OptionValueBase & llvm::cl::OptionValueBase< DataType, false >::operator= ( const OptionValueBase< DataType, false > & )
protecteddefault

References OptionValueBase().

◆ setValue()

void llvm::cl::OptionValueBase< DataType, isClass >::setValue ( const DT & )
inline

Definition at line 561 of file CommandLine.h.


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