![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
Fixed sized vector implementation that mirroring std::vector functionality. More...
#include <JETSCAPE/blob/main/external_packages/clvisc_wrapper/include/cl.hpp>
Collaboration diagram for cl::vector< T, N >:Classes | |
| class | iterator |
| Iterator class for vectors. More... | |
Public Member Functions | |
| vector () | |
| ~vector () | |
| unsigned int | size (void) const |
| void | clear () |
| void | push_back (const T &x) |
| void | pop_back (void) |
| vector (const vector< T, N > &vec) | |
| vector (unsigned int size, const T &val=T()) | |
| vector< T, N > & | operator= (const vector< T, N > &rhs) |
| bool | operator== (vector< T, N > &vec) |
| operator T * () | |
| operator const T * () const | |
| bool | empty (void) const |
| unsigned int | max_size (void) const |
| unsigned int | capacity () const |
| T & | operator[] (int index) |
| T | operator[] (int index) const |
| template<class I > | |
| void | assign (I start, I end) |
| iterator | begin (void) |
| iterator | end (void) |
| T & | front (void) |
| T & | back (void) |
| const T & | front (void) const |
| const T & | back (void) const |
Private Attributes | |
| T | data_ [N] |
| unsigned int | size_ |
| bool | empty_ |
Fixed sized vector implementation that mirroring std::vector functionality.
Definition at line 433 of file cl.hpp.
View newest version in sPHENIX GitHub at line 433 of file cl.hpp
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 452 of file cl.hpp.
View newest version in sPHENIX GitHub at line 452 of file cl.hpp
Referenced by cl::vector< ::size_t, N >::assign().
Here is the caller graph for this function:
|
inline |
Definition at line 528 of file cl.hpp.
View newest version in sPHENIX GitHub at line 528 of file cl.hpp
Referenced by cl::vector< T, N >::iterator::begin(), and cl::vector< T, N >::iterator::end().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 656 of file cl.hpp.
View newest version in sPHENIX GitHub at line 656 of file cl.hpp
Referenced by cl::Program::Program().
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Definition at line 526 of file cl.hpp.
View newest version in sPHENIX GitHub at line 526 of file cl.hpp
References cl::vector< T, N >::data_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 458 of file cl.hpp.
View newest version in sPHENIX GitHub at line 458 of file cl.hpp
Referenced by cl::vector< ::size_t, N >::assign(), cl::NDRange::NDRange(), and cl::vector< ::size_t, N >::vector().
Here is the caller graph for this function:
|
inline |
Definition at line 447 of file cl.hpp.
View newest version in sPHENIX GitHub at line 447 of file cl.hpp
Referenced by cl::vector< T, N >::iterator::end(), cl::vector< ::size_t, N >::operator==(), cl::vector< ::size_t, N >::push_back(), and cl::vector< ::size_t, N >::vector().
Here is the caller graph for this function:
|
private |
Definition at line 436 of file cl.hpp.
View newest version in sPHENIX GitHub at line 436 of file cl.hpp
Referenced by cl::vector< ::size_t, N >::back(), cl::vector< ::size_t, N >::front(), cl::vector< T, N >::operator const T *(), cl::vector< ::size_t, N >::operator::size_t *(), cl::vector< ::size_t, N >::operator=(), cl::vector< ::size_t, N >::operator==(), cl::vector< ::size_t, N >::operator[](), cl::vector< ::size_t, N >::pop_back(), cl::vector< ::size_t, N >::push_back(), and cl::vector< ::size_t, N >::vector().
|
private |
Definition at line 438 of file cl.hpp.
View newest version in sPHENIX GitHub at line 438 of file cl.hpp
Referenced by cl::vector< ::size_t, N >::clear(), cl::vector< ::size_t, N >::empty(), cl::vector< ::size_t, N >::operator=(), cl::vector< ::size_t, N >::operator==(), cl::vector< ::size_t, N >::pop_back(), cl::vector< ::size_t, N >::push_back(), and cl::vector< ::size_t, N >::vector().
|
private |
Definition at line 437 of file cl.hpp.
View newest version in sPHENIX GitHub at line 437 of file cl.hpp
Referenced by cl::vector< ::size_t, N >::back(), cl::vector< ::size_t, N >::clear(), cl::vector< ::size_t, N >::operator=(), cl::vector< ::size_t, N >::pop_back(), cl::vector< ::size_t, N >::push_back(), and cl::vector< ::size_t, N >::size().