SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
slide::StateStorage Class Reference

#include <StateStorage.hpp>

Public Member Functions

constexpr void clear () noexcept
 
template<typename T >
void add (T &x)
 
template<typename T >
void add (std::span< T > x)
 
constexpr auto begin () noexcept
 
constexpr auto end () noexcept
 
void restore ()
 

Public Attributes

size_t index { 0 }
 

Member Function Documentation

◆ add() [1/2]

template<typename T >
void slide::StateStorage::add ( std::span< T >  x)
inline

< states.reserve(states.size() + x.size());

◆ add() [2/2]

template<typename T >
void slide::StateStorage::add ( T &  x)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ begin()

constexpr auto slide::StateStorage::begin ( )
inlineconstexprnoexcept

◆ clear()

constexpr void slide::StateStorage::clear ( )
inlineconstexprnoexcept

◆ end()

constexpr auto slide::StateStorage::end ( )
inlineconstexprnoexcept

◆ restore()

void slide::StateStorage::restore ( )
inline

Member Data Documentation

◆ index

size_t slide::StateStorage::index { 0 }

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