TTK
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
ttk::FTMAtomicVector< type > Class Template Reference

TTK processing package that manage a parallel vecrion of vector. More...

#include <FTMAtomicVector.h>

Inheritance diagram for ttk::FTMAtomicVector< type >:

Public Types

using iterator = typename std::vector< type >::iterator
 
using const_iterator = typename std::vector< type >::const_iterator
 
using riterator = typename std::vector< type >::reverse_iterator
 
using const_riterator = typename std::vector< type >::const_reverse_iterator
 

Public Member Functions

 FTMAtomicVector (const std::size_t initSize=1, const type &dv=type{})
 
 FTMAtomicVector (const FTMAtomicVector &other)
 
 FTMAtomicVector (FTMAtomicVector &&other) noexcept=default
 
virtual ~FTMAtomicVector ()=default
 
void reserve (const std::size_t &newSize)
 
void reset (const std::size_t &nId=0)
 
void clear ()
 
std::size_t getNext ()
 
std::size_t size () const
 
bool empty () const
 
void push_back (const type &elmt)
 
FTMAtomicVector< type > & operator= (const FTMAtomicVector< type > &other)
 
iterator end ()
 
const_iterator cend () const
 
riterator rbegin ()
 
const_riterator crbegin () const
 

Detailed Description

template<typename type>
class ttk::FTMAtomicVector< type >

TTK processing package that manage a parallel vecrion of vector.

Author
Charles Gueunet charl.nosp@m.es.g.nosp@m.ueune.nosp@m.t@li.nosp@m.p6.fr
Date
2017-02-09

Definition at line 23 of file FTMAtomicVector.h.

Member Typedef Documentation

◆ const_iterator

template<typename type >
using ttk::FTMAtomicVector< type >::const_iterator = typename std::vector<type>::const_iterator

Definition at line 144 of file FTMAtomicVector.h.

◆ const_riterator

template<typename type >
using ttk::FTMAtomicVector< type >::const_riterator = typename std::vector<type>::const_reverse_iterator

Definition at line 155 of file FTMAtomicVector.h.

◆ iterator

template<typename type >
using ttk::FTMAtomicVector< type >::iterator = typename std::vector<type>::iterator

Definition at line 143 of file FTMAtomicVector.h.

◆ riterator

template<typename type >
using ttk::FTMAtomicVector< type >::riterator = typename std::vector<type>::reverse_iterator

Definition at line 154 of file FTMAtomicVector.h.

Constructor & Destructor Documentation

◆ FTMAtomicVector() [1/3]

template<typename type >
ttk::FTMAtomicVector< type >::FTMAtomicVector ( const std::size_t  initSize = 1,
const type &  dv = type{} 
)
inline

Definition at line 30 of file FTMAtomicVector.h.

◆ FTMAtomicVector() [2/3]

template<typename type >
ttk::FTMAtomicVector< type >::FTMAtomicVector ( const FTMAtomicVector< type > &  other)
inline

Definition at line 45 of file FTMAtomicVector.h.

◆ FTMAtomicVector() [3/3]

template<typename type >
ttk::FTMAtomicVector< type >::FTMAtomicVector ( FTMAtomicVector< type > &&  other)
defaultnoexcept

◆ ~FTMAtomicVector()

template<typename type >
virtual ttk::FTMAtomicVector< type >::~FTMAtomicVector ( )
virtualdefault

Member Function Documentation

◆ cend()

template<typename type >
const_iterator ttk::FTMAtomicVector< type >::cend ( ) const
inline

Definition at line 150 of file FTMAtomicVector.h.

◆ clear()

template<typename type >
void ttk::FTMAtomicVector< type >::clear ( )
inline

Definition at line 90 of file FTMAtomicVector.h.

◆ crbegin()

template<typename type >
const_riterator ttk::FTMAtomicVector< type >::crbegin ( ) const
inline

Definition at line 161 of file FTMAtomicVector.h.

◆ empty()

template<typename type >
bool ttk::FTMAtomicVector< type >::empty ( ) const
inline

Definition at line 117 of file FTMAtomicVector.h.

◆ end()

template<typename type >
iterator ttk::FTMAtomicVector< type >::end ( )
inline

Definition at line 146 of file FTMAtomicVector.h.

◆ getNext()

template<typename type >
std::size_t ttk::FTMAtomicVector< type >::getNext ( )
inline

Definition at line 99 of file FTMAtomicVector.h.

◆ operator=()

template<typename type >
FTMAtomicVector< type > & ttk::FTMAtomicVector< type >::operator= ( const FTMAtomicVector< type > &  other)
inline

Definition at line 130 of file FTMAtomicVector.h.

◆ push_back()

template<typename type >
void ttk::FTMAtomicVector< type >::push_back ( const type &  elmt)
inline

Definition at line 121 of file FTMAtomicVector.h.

◆ rbegin()

template<typename type >
riterator ttk::FTMAtomicVector< type >::rbegin ( )
inline

Definition at line 157 of file FTMAtomicVector.h.

◆ reserve()

template<typename type >
void ttk::FTMAtomicVector< type >::reserve ( const std::size_t &  newSize)
inline

Definition at line 64 of file FTMAtomicVector.h.

◆ reset()

template<typename type >
void ttk::FTMAtomicVector< type >::reset ( const std::size_t &  nId = 0)
inline

Definition at line 83 of file FTMAtomicVector.h.

◆ size()

template<typename type >
std::size_t ttk::FTMAtomicVector< type >::size ( ) const
inline

Definition at line 113 of file FTMAtomicVector.h.


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