LLVM 23.0.0git
llvm::cl::list_storage< DataType, bool > Class Template Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::list_storage< DataType, bool >:
[legend]

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 ()
 list_storage ()=default
bool setLocation (Option &O, bool &L)

Detailed Description

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

Definition at line 1610 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 1621 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 1636 of file CommandLine.h.

◆ iterator

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

Definition at line 1616 of file CommandLine.h.

◆ reference

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

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

Constructor & Destructor Documentation

◆ list_storage()

llvm::cl::list_storage< DataType, bool >::list_storage ( )
default

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

References T.

◆ assignDefault()

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

Definition at line 1687 of file CommandLine.h.

◆ begin() [1/2]

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

Definition at line 1618 of file CommandLine.h.

◆ begin() [2/2]

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

Definition at line 1623 of file CommandLine.h.

◆ clear()

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

Definition at line 1641 of file CommandLine.h.

◆ empty()

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

Definition at line 1630 of file CommandLine.h.

◆ end() [1/2]

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

Definition at line 1619 of file CommandLine.h.

◆ end() [2/2]

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

Definition at line 1624 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 1646 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 1645 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 1651 of file CommandLine.h.

◆ erase() [4/4]

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

Definition at line 1650 of file CommandLine.h.

◆ front() [1/2]

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

Definition at line 1669 of file CommandLine.h.

◆ front() [2/2]

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

Definition at line 1670 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 1683 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 1655 of file CommandLine.h.

◆ insert() [2/4]

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

Definition at line 1658 of file CommandLine.h.

◆ insert() [3/4]

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

Definition at line 1662 of file CommandLine.h.

◆ insert() [4/4]

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

Definition at line 1665 of file CommandLine.h.

◆ isDefaultAssigned()

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

Definition at line 1689 of file CommandLine.h.

◆ operator ArrayRef< DataType >()

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

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

◆ operator&() [1/2]

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

Definition at line 1674 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 1675 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 1638 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 1639 of file CommandLine.h.

◆ overwriteDefault()

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

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

◆ push_back() [2/2]

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

Definition at line 1633 of file CommandLine.h.

◆ setLocation()

bool llvm::cl::list_storage< DataType, bool >::setLocation ( Option & O,
bool & L )
inline

Definition at line 1577 of file CommandLine.h.

◆ size()

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

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