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

#include "llvm/Support/CommandLine.h"

Collaboration diagram for llvm::cl::opt_storage< DataType, false, false >:
Collaboration graph
[legend]

Public Member Functions

 opt_storage ()
 
template<class T >
void setValue (const T &V, bool initial=false)
 
DataTypegetValue ()
 
DataType getValue () const
 
const OptionValue< DataType > & getDefault () const
 
 operator DataType () const
 
DataType operator-> () const
 

Public Attributes

DataType Value
 
OptionValue< DataTypeDefault
 

Detailed Description

template<class DataType>
class llvm::cl::opt_storage< DataType, false, false >

Definition at line 1253 of file CommandLine.h.

Constructor & Destructor Documentation

◆ opt_storage()

template<class DataType >
llvm::cl::opt_storage< DataType, false, false >::opt_storage ( )
inline

Definition at line 1260 of file CommandLine.h.

Member Function Documentation

◆ getDefault()

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

Definition at line 1270 of file CommandLine.h.

◆ getValue() [1/2]

template<class DataType >
DataType& llvm::cl::opt_storage< DataType, false, false >::getValue ( )
inline

Definition at line 1267 of file CommandLine.h.

◆ getValue() [2/2]

template<class DataType >
DataType llvm::cl::opt_storage< DataType, false, false >::getValue ( ) const
inline

Definition at line 1268 of file CommandLine.h.

◆ operator DataType()

template<class DataType >
llvm::cl::opt_storage< DataType, false, false >::operator DataType ( ) const
inline

Definition at line 1272 of file CommandLine.h.

◆ operator->()

template<class DataType >
DataType llvm::cl::opt_storage< DataType, false, false >::operator-> ( ) const
inline

Definition at line 1275 of file CommandLine.h.

◆ setValue()

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

Definition at line 1262 of file CommandLine.h.

Member Data Documentation

◆ Default

template<class DataType >
OptionValue<DataType> llvm::cl::opt_storage< DataType, false, false >::Default

Definition at line 1256 of file CommandLine.h.

◆ Value

template<class DataType >
DataType llvm::cl::opt_storage< DataType, false, false >::Value

Definition at line 1255 of file CommandLine.h.


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