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

#include "llvm/Support/CommandLine.h"

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

Public Member Functions

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

Public Attributes

OptionValue< DataTypeDefault
 

Detailed Description

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

Definition at line 1233 of file CommandLine.h.

Member Function Documentation

◆ getDefault()

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

Definition at line 1246 of file CommandLine.h.

◆ getValue() [1/2]

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

Definition at line 1243 of file CommandLine.h.

◆ getValue() [2/2]

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

Definition at line 1244 of file CommandLine.h.

◆ setValue()

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

Definition at line 1237 of file CommandLine.h.

Member Data Documentation

◆ Default

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

Definition at line 1235 of file CommandLine.h.


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