LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::cl::OptionValue< std::string > Struct Referencefinal

#include "llvm/Support/CommandLine.h"

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

Public Types

using WrapperType = StringRef
 

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::OptionValueCopy< std::string >
 OptionValueCopy ()=default
 
bool hasValue () const
 
const std::string & getValue () const
 
void setValue (const std::string &V)
 
bool compare (const std::string &V) const
 
bool compare (const GenericOptionValue &V) const override
 
virtual bool compare (const GenericOptionValue &V) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::cl::OptionValueCopy< std::string >
 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

Definition at line 657 of file CommandLine.h.

Member Typedef Documentation

◆ WrapperType

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

Definition at line 658 of file CommandLine.h.

Constructor & Destructor Documentation

◆ OptionValue() [1/2]

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

◆ 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: