LLVM  15.0.0git
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)
 
DataType & getValue ()
 
const DataType & getValue () const
 
const OptionValue< DataType > & getDefault () const
 

Public Attributes

OptionValue< DataType > Default
 

Detailed Description

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

Definition at line 1342 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 1355 of file CommandLine.h.

◆ getValue() [1/2]

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

Definition at line 1352 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 1353 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 1346 of file CommandLine.h.

Member Data Documentation

◆ Default

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

Definition at line 1344 of file CommandLine.h.


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