LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::cl::opt_storage< DataType, ExternalStorage, isClass > Class Template Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::opt_storage< DataType, ExternalStorage, isClass >:
Inheritance graph
[legend]

Public Member Functions

 opt_storage ()=default
 
bool setLocation (Option &O, DataType &L)
 
template<class T >
void setValue (const T &V, bool initial=false)
 
DataTypegetValue ()
 
const DataTypegetValue () const
 
 operator DataType () const
 
const OptionValue< DataType > & getDefault () const
 

Detailed Description

template<class DataType, bool ExternalStorage, bool isClass>
class llvm::cl::opt_storage< DataType, ExternalStorage, isClass >

Definition at line 1186 of file CommandLine.h.

Constructor & Destructor Documentation

◆ opt_storage()

template<class DataType, bool ExternalStorage, bool isClass>
llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::opt_storage ( )
default

Member Function Documentation

◆ getDefault()

template<class DataType, bool ExternalStorage, bool isClass>
const OptionValue<DataType>& llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::getDefault ( ) const
inline

Definition at line 1225 of file CommandLine.h.

◆ getValue() [1/2]

template<class DataType, bool ExternalStorage, bool isClass>
DataType& llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::getValue ( )
inline

Definition at line 1214 of file CommandLine.h.

◆ getValue() [2/2]

template<class DataType, bool ExternalStorage, bool isClass>
const DataType& llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::getValue ( ) const
inline

Definition at line 1218 of file CommandLine.h.

◆ operator DataType()

template<class DataType, bool ExternalStorage, bool isClass>
llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::operator DataType ( ) const
inline

Definition at line 1223 of file CommandLine.h.

◆ setLocation()

template<class DataType, bool ExternalStorage, bool isClass>
bool llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::setLocation ( Option O,
DataType L 
)
inline

Definition at line 1199 of file CommandLine.h.

◆ setValue()

template<class DataType, bool ExternalStorage, bool isClass>
template<class T >
void llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::setValue ( const T V,
bool  initial = false 
)
inline

Definition at line 1207 of file CommandLine.h.


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