LLVM 20.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]

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 1371 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 1384 of file CommandLine.h.

◆ getValue() [1/2]

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

Definition at line 1381 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 1382 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 1375 of file CommandLine.h.

Member Data Documentation

◆ Default

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

Definition at line 1373 of file CommandLine.h.


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