FastLED 3.9.7
Loading...
Searching...
No Matches
fl::SortedHeapVector< T, LessThan > Class Template Reference

Detailed Description

template<typename T, typename LessThan>
class fl::SortedHeapVector< T, LessThan >

Definition at line 461 of file vector.h.

Public Types

typedef HeapVector< T >::iterator iterator
 
typedef HeapVector< T >::const_iterator const_iterator
 

Public Member Functions

 SortedHeapVector (LessThan less=LessThan())
 
void setMaxSize (size_t n)
 
void reserve (size_t n)
 
bool insert (const T &value, InsertResult *result=nullptr)
 
iterator lower_bound (const T &value)
 
const_iterator lower_bound (const T &value) const
 
iterator find (const T &value)
 
const_iterator find (const T &value) const
 
bool has (const T &value) const
 
bool erase (const T &value)
 
bool erase (iterator pos)
 
size_t size () const
 
bool empty () const
 
size_t capacity () const
 
void clear ()
 
bool full () const
 
T & operator[] (size_t index)
 
const T & operator[] (size_t index) const
 
T & front ()
 
const T & front () const
 
T & back ()
 
const T & back () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
T * data ()
 
const T * data () const
 

Member Typedef Documentation

◆ const_iterator

template<typename T , typename LessThan >
typedef HeapVector<T>::const_iterator fl::SortedHeapVector< T, LessThan >::const_iterator

Definition at line 469 of file vector.h.

◆ iterator

template<typename T , typename LessThan >
typedef HeapVector<T>::iterator fl::SortedHeapVector< T, LessThan >::iterator

Definition at line 468 of file vector.h.

Constructor & Destructor Documentation

◆ SortedHeapVector()

template<typename T , typename LessThan >
fl::SortedHeapVector< T, LessThan >::SortedHeapVector ( LessThan less = LessThan())
inline

Definition at line 471 of file vector.h.

◆ ~SortedHeapVector()

template<typename T , typename LessThan >
fl::SortedHeapVector< T, LessThan >::~SortedHeapVector ( )
inline

Definition at line 486 of file vector.h.

Member Function Documentation

◆ back() [1/2]

template<typename T , typename LessThan >
T & fl::SortedHeapVector< T, LessThan >::back ( )
inline

Definition at line 592 of file vector.h.

◆ back() [2/2]

template<typename T , typename LessThan >
const T & fl::SortedHeapVector< T, LessThan >::back ( ) const
inline

Definition at line 593 of file vector.h.

◆ begin() [1/2]

template<typename T , typename LessThan >
iterator fl::SortedHeapVector< T, LessThan >::begin ( )
inline

Definition at line 596 of file vector.h.

◆ begin() [2/2]

template<typename T , typename LessThan >
const_iterator fl::SortedHeapVector< T, LessThan >::begin ( ) const
inline

Definition at line 597 of file vector.h.

◆ capacity()

template<typename T , typename LessThan >
size_t fl::SortedHeapVector< T, LessThan >::capacity ( ) const
inline

Definition at line 576 of file vector.h.

◆ clear()

template<typename T , typename LessThan >
void fl::SortedHeapVector< T, LessThan >::clear ( )
inline

Definition at line 577 of file vector.h.

◆ data() [1/2]

template<typename T , typename LessThan >
T * fl::SortedHeapVector< T, LessThan >::data ( )
inline

Definition at line 602 of file vector.h.

◆ data() [2/2]

template<typename T , typename LessThan >
const T * fl::SortedHeapVector< T, LessThan >::data ( ) const
inline

Definition at line 603 of file vector.h.

◆ empty()

template<typename T , typename LessThan >
bool fl::SortedHeapVector< T, LessThan >::empty ( ) const
inline

Definition at line 575 of file vector.h.

◆ end() [1/2]

template<typename T , typename LessThan >
iterator fl::SortedHeapVector< T, LessThan >::end ( )
inline

Definition at line 598 of file vector.h.

◆ end() [2/2]

template<typename T , typename LessThan >
const_iterator fl::SortedHeapVector< T, LessThan >::end ( ) const
inline

Definition at line 599 of file vector.h.

◆ erase() [1/2]

template<typename T , typename LessThan >
bool fl::SortedHeapVector< T, LessThan >::erase ( const T & value)
inline

Definition at line 561 of file vector.h.

◆ erase() [2/2]

template<typename T , typename LessThan >
bool fl::SortedHeapVector< T, LessThan >::erase ( iterator pos)
inline

Definition at line 569 of file vector.h.

◆ find() [1/2]

template<typename T , typename LessThan >
iterator fl::SortedHeapVector< T, LessThan >::find ( const T & value)
inline

Definition at line 544 of file vector.h.

◆ find() [2/2]

template<typename T , typename LessThan >
const_iterator fl::SortedHeapVector< T, LessThan >::find ( const T & value) const
inline

Definition at line 552 of file vector.h.

◆ front() [1/2]

template<typename T , typename LessThan >
T & fl::SortedHeapVector< T, LessThan >::front ( )
inline

Definition at line 589 of file vector.h.

◆ front() [2/2]

template<typename T , typename LessThan >
const T & fl::SortedHeapVector< T, LessThan >::front ( ) const
inline

Definition at line 590 of file vector.h.

◆ full()

template<typename T , typename LessThan >
bool fl::SortedHeapVector< T, LessThan >::full ( ) const
inline

Definition at line 578 of file vector.h.

◆ has()

template<typename T , typename LessThan >
bool fl::SortedHeapVector< T, LessThan >::has ( const T & value) const
inline

Definition at line 556 of file vector.h.

◆ insert()

template<typename T , typename LessThan >
bool fl::SortedHeapVector< T, LessThan >::insert ( const T & value,
InsertResult * result = nullptr )
inline

Definition at line 495 of file vector.h.

◆ lower_bound() [1/2]

template<typename T , typename LessThan >
iterator fl::SortedHeapVector< T, LessThan >::lower_bound ( const T & value)
inline

Definition at line 523 of file vector.h.

◆ lower_bound() [2/2]

template<typename T , typename LessThan >
const_iterator fl::SortedHeapVector< T, LessThan >::lower_bound ( const T & value) const
inline

Definition at line 539 of file vector.h.

◆ operator[]() [1/2]

template<typename T , typename LessThan >
T & fl::SortedHeapVector< T, LessThan >::operator[] ( size_t index)
inline

Definition at line 586 of file vector.h.

◆ operator[]() [2/2]

template<typename T , typename LessThan >
const T & fl::SortedHeapVector< T, LessThan >::operator[] ( size_t index) const
inline

Definition at line 587 of file vector.h.

◆ reserve()

template<typename T , typename LessThan >
void fl::SortedHeapVector< T, LessThan >::reserve ( size_t n)
inline

Definition at line 490 of file vector.h.

◆ setMaxSize()

template<typename T , typename LessThan >
void fl::SortedHeapVector< T, LessThan >::setMaxSize ( size_t n)
inline

Definition at line 473 of file vector.h.

◆ size()

template<typename T , typename LessThan >
size_t fl::SortedHeapVector< T, LessThan >::size ( ) const
inline

Definition at line 574 of file vector.h.


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