LLVM 19.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 1398 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 1405 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 1415 of file CommandLine.h.

◆ getValue() [1/2]

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

Definition at line 1412 of file CommandLine.h.

◆ getValue() [2/2]

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

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

Member Data Documentation

◆ Default

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

Definition at line 1401 of file CommandLine.h.

◆ Value

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

Definition at line 1400 of file CommandLine.h.


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