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

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::OptionValue< std::string >:
Inheritance graph
[legend]
Collaboration diagram for llvm::cl::OptionValue< std::string >:
Collaboration 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
 

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

template<>
struct llvm::cl::OptionValue< std::string >

Definition at line 589 of file CommandLine.h.

Member Typedef Documentation

◆ WrapperType

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

Definition at line 590 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

Definition at line 594 of file CommandLine.h.

Member Function Documentation

◆ operator=()

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

Definition at line 596 of file CommandLine.h.


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