File view_composite.hpp

template<typename FirstView, typename SecondView>
class CompositeView
#include <view_composite.hpp>

A view that is backed two one-dimensional views.

Template Parameters:
  • FirstView – The type of the first view

  • SecondView – The type of the second view

Subclassed by CompositeMatrix< AllocatedListOfLists< IndexedValue< T > >, AllocatedCContiguousView< uint32 > >, CompositeMatrix< FirstView, SecondView >, CompositeVector< FirstView, SecondView >

Public Types

typedef FirstView first_view_type

The type of the first view, the view is backed by.

typedef SecondView second_view_type

The type of the second view, the view is backed by.

Public Functions

inline CompositeView(FirstView &&firstView, SecondView &&secondView)
Parameters:
  • firstView – The first view, the view should be backed by

  • secondView – The second view, the view should be backed by

inline CompositeView(const CompositeView<FirstView, SecondView> &other)
Parameters:

other – A reference to an object of type CompositeView that should be copied

inline CompositeView(CompositeView<FirstView, SecondView> &&other)
Parameters:

other – A reference to an object of type CompositeView that should be moved

inline virtual ~CompositeView()

Public Members

FirstView firstView

The first view, the view is backed by.

SecondView secondView

The second view, the view is backed by.