hep-mc
0.8
|
Class representing checkpoints, which capture the state of each iteration performed by an integrator.
Public Types | |
using | result_type = Result |
Public Member Functions | |
chkpt ()=default | |
chkpt (std::istream &in) | |
chkpt (chkpt< Result > const &)=default | |
chkpt (chkpt< Result > &&) noexcept=default | |
chkpt & | operator= (chkpt< Result > const &)=default |
chkpt & | operator= (chkpt< Result > &&) noexcept=default |
std::vector< Result > const & | results () const |
virtual | ~chkpt ()=default |
virtual void | serialize (std::ostream &out) const |
Protected Attributes | |
std::vector< Result > | results_ |
using hep::chkpt< Result >::result_type = Result |
The type of results this class stores. See Results for the different result types.
|
default |
Default constructor.
|
inlineexplicit |
Deserialization constructor. This creates a checkpoint by reading from the stream in
.
|
default |
Copy constructor.
|
defaultnoexcept |
Move constructor.
|
virtualdefault |
Destructor.
|
default |
Assignment operator.
|
defaultnoexcept |
Move assignment operator.
|
inline |
Returns all results.
|
inlinevirtual |
Serializes this object. This writes a textual representation of this class to the stream out
.
Reimplemented in hep::multi_channel_chkpt< T >, and hep::vegas_chkpt< T >.
|
protected |