Describe one element of a jagged vector.
More...
#include <JaggedVecImpl.h>
template<class T>
class SG::JaggedVecElt< T >
Describe one element of a jagged vector.
Definition at line 130 of file JaggedVecImpl.h.
◆ index_type
Type for the indices.
16 bits is probably too small, 64 bits is pretty definitely too large. Use 32.
Definition at line 56 of file JaggedVecImpl.h.
◆ begin()
index_type SG::JaggedVecEltBase::begin |
( |
size_t |
elt_ndx | ) |
const |
|
inherited |
Return the index of the beginning of the range.
- Parameters
-
elt_ndx | The index of this element in its container. |
◆ end()
Return the index of the end of the range.
◆ JaggedVecEltBase() [1/2]
template<class T >
SG::JaggedVecEltBase::JaggedVecEltBase |
|
default |
Default constructor.
Makes a null range.
◆ JaggedVecEltBase() [2/2]
template<class T >
SG::JaggedVecEltBase::JaggedVecEltBase |
Constructor.
- Parameters
-
beg | Index of the start of the range. |
end | Index of the end of the range. |
◆ operator==()
Equality test.
- Parameters
-
other | Other element with which to compare. |
◆ size()
size_t SG::JaggedVecEltBase::size |
( |
size_t |
elt_ndx | ) |
const |
|
inherited |
Return the number of items in this range.
- Parameters
-
elt_ndx | The index of this element in its container. |
◆ m_end
The documentation for this class was generated from the following file: