![]() |
PST SDK
6.0.0.0-272350a
|
#include <PstArray.h>
Collaboration diagram for PSTech::Utils::PstArray< T, Size >:Public Types | |
| typedef T | value_type |
| typedef size_t | size_type |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef T * | iterator |
| typedef const T * | const_iterator |
Public Member Functions | |
| constexpr size_type | size () const |
| constexpr bool | empty () const |
| const_pointer | data () const |
| pointer | data () |
| const_reference | at (size_type index) const |
| reference | at (size_type index) |
| const_reference | front () const |
| reference | front () |
| const_reference | back () const |
| reference | back () |
| const_iterator | cbegin () const |
| const_iterator | begin () const |
| iterator | begin () |
| const_iterator | cend () const |
| const_iterator | end () const |
| iterator | end () |
| const_reference | operator[] (size_type index) const |
| reference | operator[] (size_type index) |
| bool | operator== (const PstArray< T, Size > &array) const |
| bool | operator!= (const PstArray< T, Size > &array) const |
Public Attributes | |
| value_type | _array [Size] |
Private Member Functions | |
| void | check_bounds (size_type index) |
Basic array class, cloning std::array<T, Size>. This class can safely be passed across the DLL boundary.
| typedef const T* PSTech::Utils::PstArray< T, Size >::const_iterator |
| typedef const T* PSTech::Utils::PstArray< T, Size >::const_pointer |
| typedef const T& PSTech::Utils::PstArray< T, Size >::const_reference |
| typedef T* PSTech::Utils::PstArray< T, Size >::iterator |
| typedef T* PSTech::Utils::PstArray< T, Size >::pointer |
| typedef T& PSTech::Utils::PstArray< T, Size >::reference |
| typedef size_t PSTech::Utils::PstArray< T, Size >::size_type |
| typedef T PSTech::Utils::PstArray< T, Size >::value_type |
|
inline |
Get a const reference to the item stored at position `index' in the PstArray with bounds check. If `index' is larger than the size of the PstArray, a PSTech::OutOfRangeException is thrown.
| PSTech::OutOfRangeException |
|
inline |
Get a reference to the item stored at position `index' in the PstArray with bounds check. If `index' is larger than the size of the PstArray, a PSTech::OutOfRangeException is thrown.
| PSTech::OutOfRangeException |
|
inline |
Get a const reference to the last element in the PstArray.
|
inline |
Get a reference to the last element in the PstArray.
|
inline |
Get a const iterator to the beginning of the PstArray.
|
inline |
Get an iterator to the beginning of the PstArray.
|
inline |
Get a const iterator to the beginning of the PstArray.
|
inline |
Get a const iterator to the end of the PstArray.
|
inlineprivate |
Here is the caller graph for this function:
|
inline |
Direct access to the underlying array.
|
inline |
Direct access to the underlying array.
|
inline |
Returns true if this PstArray is empty.
|
inline |
Get a const iterator to the end of the PstArray.
|
inline |
Get an iterator to the end of the PstArray.
|
inline |
Get a const reference to the first element in the PstArray.
|
inline |
Get a reference to the first element in the PstArray.
|
inline |
Returns true if any element in this PstArray is not equal to the element at the same index in `array'.
|
inline |
Returns true if each element in this PstArray is equal to the element at the same index in `array'.
|
inline |
Get a const reference to the item stored at position `index' in the PstArray.
|
inline |
Get a reference to the item stored at position `index' in the PstArray.
|
inline |
Get the number of elements in this PstArray.
| value_type PSTech::Utils::PstArray< T, Size >::_array[Size] |
Public member to enable aggregate initialization. Should not be accessed directly.