PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl Struct Reference

`#include <plask/provider/combined_provider.hpp>`

Inheritance diagram for plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl:
[legend]
Collaboration diagram for plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl:
[legend]

## Public Member Functions
| SumLazyDataImpl (std::vector< LazyData< ValueType > > &&to_sum, std::size_t size)
ValueType | at (std::size_t index) const override
| Get index-th value from vector.
std::size_t | size () const override
| Get the number of elements in this vector.
Public Member Functions inherited from plask::LazyDataImpl< ValueType >
virtual | ~LazyDataImpl ()
virtual DataVector< const ValueType > | getAll () const
| Get all values as non-lazy vector.
virtual DataVector< ValueType > | claim () const

## Public Attributes
std::vector< LazyData< ValueType > > | to_sum
std::size_t | _size

## Additional Inherited Members
Public Types inherited from plask::LazyDataImpl< ValueType >
typedef ValueType | CellType

## Detailed Description

template<typename PropertyT, typename SpaceT, typename... ExtraArgs>
struct plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl

Definition at line 154 of file combined_provider.hpp.

## Constructor & Destructor Documentation

## ◆ SumLazyDataImpl()

template<typename PropertyT , typename SpaceT , typename... ExtraArgs>

plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl::SumLazyDataImpl | ( | std::vector< LazyData< ValueType > > && | to_sum,
|  | std::size_t | size
| ) |  |
| inline

Definition at line 160 of file combined_provider.hpp.

## Member Function Documentation

## ◆ at()

template<typename PropertyT , typename SpaceT , typename... ExtraArgs>

ValueType plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl::at | ( | std::size_t | index | ) | const
| inline override virtual

Get index-th value from vector.

Parameters

  index | should be a value from 0 to size()-1

Returns
  index-th value from vector

Implements plask::LazyDataImpl< ValueType >.

Definition at line 163 of file combined_provider.hpp.

## ◆ size()

template<typename PropertyT , typename SpaceT , typename... ExtraArgs>

std::size_t plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl::size | ( |  | ) | const
| inline override virtual

Get the number of elements in this vector.

Returns
  the number of elements in this vector

Implements plask::LazyDataImpl< ValueType >.

Definition at line 170 of file combined_provider.hpp.

## Member Data Documentation

## ◆ _size

template<typename PropertyT , typename SpaceT , typename... ExtraArgs>

std::size_t plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl::_size

Definition at line 158 of file combined_provider.hpp.

## ◆ to_sum

template<typename PropertyT , typename SpaceT , typename... ExtraArgs>

std::vector<LazyData<ValueType> > plask::FieldSumProviderImpl< PropertyT, SpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::SumLazyDataImpl::to_sum

Definition at line 156 of file combined_provider.hpp.

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

- plask/provider/combined_provider.hpp