MUDA
Loading...
Searching...
No Matches
muda::DoubletVectorViewBase< IsConst, T, N > Class Template Reference
Inheritance diagram for muda::DoubletVectorViewBase< IsConst, T, N >:
muda::ViewBase< IsConst >

Public Types

using SegmentVector = Eigen::Matrix< T, N, 1 >
 
using ConstView = DoubletVectorViewBase< true, T, N >
 
using NonConstView = DoubletVectorViewBase< false, T, N >
 
using ThisView = DoubletVectorViewBase< IsConst, T, N >
 
using ConstViewer = CDoubletVectorViewer< T, N >
 
using NonConstViewer = DoubletVectorViewer< T, N >
 
using ThisViewer = std::conditional_t< IsConst, ConstViewer, NonConstViewer >
 
- Public Types inherited from muda::ViewBase< IsConst >
using auto_const_t = std::conditional_t< IsConst, const T, T >
 
using non_const_enable_t = std::enable_if_t< IsNonConst, T >
 

Public Member Functions

MUDA_GENERIC DoubletVectorViewBase (int total_segment_count, int doublet_index_offset, int doublet_count, int total_doublet_count, int subvector_offset, int subvector_extent, auto_const_t< int > *segment_indices, auto_const_t< SegmentVector > *segment_values)
 
MUDA_GENERIC DoubletVectorViewBase (int total_segment_count, int total_doublet_count, auto_const_t< int > *segment_indices, auto_const_t< SegmentVector > *segment_values)
 
MUDA_GENERIC ConstView as_const () const noexcept
 
MUDA_GENERIC operator ConstView () const noexcept
 
MUDA_GENERIC ThisView subview (int offset, int count) const noexcept
 
MUDA_GENERIC ThisView subview (int offset) const noexcept
 
MUDA_GENERIC auto subvector (int offset, int extent) const noexcept
 
MUDA_GENERIC ThisViewer viewer () noexcept
 
MUDA_GENERIC ConstViewer cviewer () const noexcept
 
MUDA_GENERIC int extent () const noexcept
 
MUDA_GENERIC int total_extent () const noexcept
 
MUDA_GENERIC int subvector_offset () const noexcept
 
MUDA_GENERIC int doublet_count () const noexcept
 
MUDA_GENERIC int total_doublet_count () const noexcept
 

Protected Attributes

int m_total_segment_count = 0
 
int m_doublet_index_offset = 0
 
int m_doublet_count = 0
 
int m_total_doublet_count = 0
 
int m_subvector_offset = 0
 
int m_subvector_extent = 0
 
auto_const_t< int > * m_segment_indices
 
auto_const_t< SegmentVector > * m_segment_values
 

Additional Inherited Members

- Static Public Attributes inherited from muda::ViewBase< IsConst >
static constexpr bool IsConst
 
static constexpr bool IsNonConst
 

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