LLVM 22.0.0git
llvm::cl::OptionValue< std::string > Struct Referencefinal

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::OptionValue< std::string >:
[legend]

Public Types

using WrapperType = StringRef
Public Types inherited from llvm::cl::OptionValueBase< DataType, isClass >
using WrapperType = OptionValue<DataType>

Public Member Functions

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

Additional Inherited Members

Protected Member Functions inherited from llvm::cl::OptionValueBase< DataType, isClass >
 ~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< std::string >
 OptionValueCopy (const OptionValueCopy &)=default
OptionValueCopyoperator= (const OptionValueCopy &)=default
 ~OptionValueCopy ()=default

Detailed Description

Definition at line 659 of file CommandLine.h.

Member Typedef Documentation

◆ WrapperType

using llvm::cl::OptionValue< std::string >::WrapperType = StringRef

Definition at line 660 of file CommandLine.h.

Constructor & Destructor Documentation

◆ OptionValue() [1/2]

llvm::cl::OptionValue< std::string >::OptionValue ( )
default

Referenced by operator=().

◆ OptionValue() [2/2]

llvm::cl::OptionValue< std::string >::OptionValue ( const std::string & V)
inline

Member Function Documentation

◆ operator=()

OptionValue< std::string > & llvm::cl::OptionValue< std::string >::operator= ( const std::string & V)
inline

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