|
PLaSK library
|
#include <plask/lazydata.hpp>
Public Member Functions | |
| ScaledLazyDataImpl (LazyData< T > data, const ScaleT &scale) | |
| ReturnedType | 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< T > | |
| virtual | ~LazyDataImpl () |
| virtual DataVector< const T > | getAll () const |
| Get all values as non-lazy vector. | |
| virtual DataVector< T > | claim () const |
Public Attributes | |
| LazyData< T > | data |
| ScaleT | scale |
Additional Inherited Members | |
Public Types inherited from plask::LazyDataImpl< T > | |
| typedef T | CellType |
Definition at line 267 of file lazydata.hpp.
|
inline |
Definition at line 273 of file lazydata.hpp.
|
inlineoverridevirtual |
Get index-th value from vector.
| index | should be a value from 0 to size()-1 |
Implements plask::LazyDataImpl< T >.
Definition at line 276 of file lazydata.hpp.
|
inlineoverridevirtual |
Get the number of elements in this vector.
Implements plask::LazyDataImpl< T >.
Definition at line 278 of file lazydata.hpp.
| LazyData<T> plask::ScaledLazyDataImpl< T, ScaleT, ReturnedType >::data |
Definition at line 269 of file lazydata.hpp.
| ScaleT plask::ScaledLazyDataImpl< T, ScaleT, ReturnedType >::scale |
Definition at line 271 of file lazydata.hpp.