Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
SnapshotContainerBase::Snapshots Class Reference

Storage for the snapshots. More...

#include <SnapshotContainerBase.h>

Inheritance diagram for SnapshotContainerBase::Snapshots:
[legend]

Public Types

typedef typename std::vector< std::unique_ptr< NumericVector< Number > > > values_type
 
typedef DereferenceIterator< typename values_type::iterator > iterator
 
typedef DereferenceIterator< typename values_type::const_iterator > const_iterator
 

Public Member Functions

std::size_t size () const
 
bool empty () const
 
bool hasValue (const std::size_t i) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
iterator end ()
 
const_iterator end () const
 
const NumericVector< Number > & operator[] (const std::size_t i) const
 
NumericVector< Number > & operator[] (const std::size_t i)
 
const NumericVector< Number > & operator[] (const std::size_t i) const
 
NumericVector< Number > & operator[] (const std::size_t i)
 
const NumericVector< Number > * queryValue (const std::size_t i) const
 
NumericVector< Number > * queryValue (const std::size_t i)
 
const NumericVector< Number > * queryValue (const std::size_t i) const
 
NumericVector< Number > * queryValue (const std::size_t i)
 

Protected Member Functions

void setPointer (const std::size_t i, std::unique_ptr< NumericVector< Number > > &&ptr)
 
NumericVector< Number > & addPointer (std::unique_ptr< NumericVector< Number > > &&ptr)
 
void resize (const std::size_t size)
 
void clear ()
 

Friends

class SnapshotContainerBase
 

Detailed Description

Storage for the snapshots.

The underlying storage is unique_ptrs, but the public API (read-only access) exposes just references.

Definition at line 35 of file SnapshotContainerBase.h.

Friends And Related Function Documentation

◆ SnapshotContainerBase

friend class SnapshotContainerBase
friend

Definition at line 38 of file SnapshotContainerBase.h.


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