LLVM  14.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"

Inheritance diagram for llvm::cl::list_storage< DataType, bool >:
Inheritance graph
[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)
 

Detailed Description

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

Definition at line 1567 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 1576 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 1591 of file CommandLine.h.

◆ iterator

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

Definition at line 1571 of file CommandLine.h.

◆ reference

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

Definition at line 1590 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 1581 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)
inline

Definition at line 1632 of file CommandLine.h.

◆ begin() [1/2]

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

Definition at line 1573 of file CommandLine.h.

◆ begin() [2/2]

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

Definition at line 1578 of file CommandLine.h.

◆ clear()

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

Definition at line 1596 of file CommandLine.h.

◆ empty()

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

Definition at line 1585 of file CommandLine.h.

◆ end() [1/2]

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

Definition at line 1574 of file CommandLine.h.

◆ end() [2/2]

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

Definition at line 1579 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 1601 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 1600 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 1606 of file CommandLine.h.

◆ erase() [4/4]

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

Definition at line 1605 of file CommandLine.h.

◆ front() [1/2]

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

Definition at line 1624 of file CommandLine.h.

◆ front() [2/2]

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

Definition at line 1625 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 1610 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 1613 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 1617 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 1620 of file CommandLine.h.

◆ operator ArrayRef< DataType >()

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

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

◆ operator&() [1/2]

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

Definition at line 1629 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 1630 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 1593 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 1594 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 1587 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 1588 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: