LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::cl::list_storage< DataType, bool > Class Template Reference

#include "llvm/Support/CommandLine.h"

Public Types

using iterator = typename std::vector< DataType >::iterator
 
using const_iterator = typename std::vector< DataType >::const_iterator
 
using size_type = typename std::vector< DataType >::size_type
 
using reference = typename std::vector< DataType >::reference
 
using const_reference = typename std::vector< DataType >::const_reference
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
size_type size () const
 
bool empty () const
 
void push_back (const DataType &value)
 
void push_back (DataType &&value)
 
reference operator[] (size_type pos)
 
const_reference operator[] (size_type pos) const
 
void clear ()
 
iterator erase (const_iterator pos)
 
iterator erase (const_iterator first, const_iterator last)
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
iterator insert (const_iterator pos, const DataType &value)
 
iterator insert (const_iterator pos, DataType &&value)
 
iterator insert (iterator pos, const DataType &value)
 
iterator insert (iterator pos, DataType &&value)
 
reference front ()
 
const_reference front () const
 
 operator std::vector< DataType > & ()
 
 operator ArrayRef< DataType > () const
 
std::vector< DataType > * operator& ()
 
const std::vector< DataType > * operator& () const
 
template<class T >
void addValue (const T &V, bool initial=false)
 
const std::vector< OptionValue< DataType > > & getDefault () const
 
void assignDefault ()
 
void overwriteDefault ()
 
bool isDefaultAssigned ()
 

Detailed Description

template<class DataType>
class llvm::cl::list_storage< DataType, bool >

Definition at line 1568 of file CommandLine.h.

Member Typedef Documentation

◆ const_iterator

template<class DataType >
using llvm::cl::list_storage< DataType, bool >::const_iterator = typename std::vector<DataType>::const_iterator

Definition at line 1579 of file CommandLine.h.

◆ const_reference

template<class DataType >
using llvm::cl::list_storage< DataType, bool >::const_reference = typename std::vector<DataType>::const_reference

Definition at line 1594 of file CommandLine.h.

◆ iterator

template<class DataType >
using llvm::cl::list_storage< DataType, bool >::iterator = typename std::vector<DataType>::iterator

Definition at line 1574 of file CommandLine.h.

◆ reference

template<class DataType >
using llvm::cl::list_storage< DataType, bool >::reference = typename std::vector<DataType>::reference

Definition at line 1593 of file CommandLine.h.

◆ size_type

template<class DataType >
using llvm::cl::list_storage< DataType, bool >::size_type = typename std::vector<DataType>::size_type

Definition at line 1584 of file CommandLine.h.

Member Function Documentation

◆ addValue()

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

Definition at line 1635 of file CommandLine.h.

◆ assignDefault()

template<class DataType >
void llvm::cl::list_storage< DataType, bool >::assignDefault ( )
inline

Definition at line 1645 of file CommandLine.h.

◆ begin() [1/2]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::begin ( )
inline

Definition at line 1576 of file CommandLine.h.

◆ begin() [2/2]

template<class DataType >
const_iterator llvm::cl::list_storage< DataType, bool >::begin ( ) const
inline

Definition at line 1581 of file CommandLine.h.

◆ clear()

template<class DataType >
void llvm::cl::list_storage< DataType, bool >::clear ( )
inline

Definition at line 1599 of file CommandLine.h.

◆ empty()

template<class DataType >
bool llvm::cl::list_storage< DataType, bool >::empty ( ) const
inline

Definition at line 1588 of file CommandLine.h.

◆ end() [1/2]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::end ( )
inline

Definition at line 1577 of file CommandLine.h.

◆ end() [2/2]

template<class DataType >
const_iterator llvm::cl::list_storage< DataType, bool >::end ( ) const
inline

Definition at line 1582 of file CommandLine.h.

◆ erase() [1/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::erase ( const_iterator  first,
const_iterator  last 
)
inline

Definition at line 1604 of file CommandLine.h.

◆ erase() [2/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::erase ( const_iterator  pos)
inline

Definition at line 1603 of file CommandLine.h.

◆ erase() [3/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::erase ( iterator  first,
iterator  last 
)
inline

Definition at line 1609 of file CommandLine.h.

◆ erase() [4/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::erase ( iterator  pos)
inline

Definition at line 1608 of file CommandLine.h.

◆ front() [1/2]

template<class DataType >
reference llvm::cl::list_storage< DataType, bool >::front ( )
inline

Definition at line 1627 of file CommandLine.h.

◆ front() [2/2]

template<class DataType >
const_reference llvm::cl::list_storage< DataType, bool >::front ( ) const
inline

Definition at line 1628 of file CommandLine.h.

◆ getDefault()

template<class DataType >
const std::vector< OptionValue< DataType > > & llvm::cl::list_storage< DataType, bool >::getDefault ( ) const
inline

Definition at line 1641 of file CommandLine.h.

◆ insert() [1/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::insert ( const_iterator  pos,
const DataType &  value 
)
inline

Definition at line 1613 of file CommandLine.h.

References value.

◆ insert() [2/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::insert ( const_iterator  pos,
DataType &&  value 
)
inline

Definition at line 1616 of file CommandLine.h.

References value.

◆ insert() [3/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::insert ( iterator  pos,
const DataType &  value 
)
inline

Definition at line 1620 of file CommandLine.h.

References value.

◆ insert() [4/4]

template<class DataType >
iterator llvm::cl::list_storage< DataType, bool >::insert ( iterator  pos,
DataType &&  value 
)
inline

Definition at line 1623 of file CommandLine.h.

References value.

◆ isDefaultAssigned()

template<class DataType >
bool llvm::cl::list_storage< DataType, bool >::isDefaultAssigned ( )
inline

Definition at line 1647 of file CommandLine.h.

◆ operator ArrayRef< DataType >()

template<class DataType >
llvm::cl::list_storage< DataType, bool >::operator ArrayRef< DataType > ( ) const
inline

Definition at line 1631 of file CommandLine.h.

◆ operator std::vector< DataType > &()

template<class DataType >
llvm::cl::list_storage< DataType, bool >::operator std::vector< DataType > & ( )
inline

Definition at line 1630 of file CommandLine.h.

◆ operator&() [1/2]

template<class DataType >
std::vector< DataType > * llvm::cl::list_storage< DataType, bool >::operator& ( )
inline

Definition at line 1632 of file CommandLine.h.

◆ operator&() [2/2]

template<class DataType >
const std::vector< DataType > * llvm::cl::list_storage< DataType, bool >::operator& ( ) const
inline

Definition at line 1633 of file CommandLine.h.

◆ operator[]() [1/2]

template<class DataType >
reference llvm::cl::list_storage< DataType, bool >::operator[] ( size_type  pos)
inline

Definition at line 1596 of file CommandLine.h.

◆ operator[]() [2/2]

template<class DataType >
const_reference llvm::cl::list_storage< DataType, bool >::operator[] ( size_type  pos) const
inline

Definition at line 1597 of file CommandLine.h.

◆ overwriteDefault()

template<class DataType >
void llvm::cl::list_storage< DataType, bool >::overwriteDefault ( )
inline

Definition at line 1646 of file CommandLine.h.

◆ push_back() [1/2]

template<class DataType >
void llvm::cl::list_storage< DataType, bool >::push_back ( const DataType &  value)
inline

Definition at line 1590 of file CommandLine.h.

References value.

◆ push_back() [2/2]

template<class DataType >
void llvm::cl::list_storage< DataType, bool >::push_back ( DataType &&  value)
inline

Definition at line 1591 of file CommandLine.h.

References value.

◆ size()

template<class DataType >
size_type llvm::cl::list_storage< DataType, bool >::size ( ) const
inline

Definition at line 1586 of file CommandLine.h.


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