LLVM  6.0.0svn
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 572 of file CommandLine.h.

Member Typedef Documentation

◆ WrapperType

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

Definition at line 573 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 577 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 579 of file CommandLine.h.


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