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

#include "llvm/Support/CommandLine.h"

Public Member Functions

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

Public Attributes

DataType Value
 
OptionValue< DataType > Default
 

Detailed Description

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

Definition at line 1391 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 1398 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 1408 of file CommandLine.h.

◆ getValue() [1/2]

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

Definition at line 1405 of file CommandLine.h.

◆ getValue() [2/2]

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

Definition at line 1406 of file CommandLine.h.

◆ operator DataType()

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

◆ operator->()

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

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

Member Data Documentation

◆ Default

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

Definition at line 1394 of file CommandLine.h.

◆ Value

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

Definition at line 1393 of file CommandLine.h.


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