votca 2024.2-dev
Loading...
Searching...
No Matches
votca::xtp::hist< T > Class Template Reference

#include <hist.h>

Collaboration diagram for votca::xtp::hist< T >:

Public Member Functions

getDiff () const
 
const T & back () const
 
void push_back (const T &metric)
 
void push_back (T &&metric)
 
bool filled () const
 
void WriteToCpt (CheckpointWriter &w) const
 
void ReadFromCpt (CheckpointReader &r)
 

Private Member Functions

void ReadMetric (T &, std::string tag, CheckpointReader &r)
 
void WriteMetric (const T &, std::string tag, CheckpointWriter &w) const
 
void ReadMetric (Energy_terms &metric, std::string tag, CheckpointReader &r)
 
void WriteMetric (const Energy_terms &metric, std::string tag, CheckpointWriter &w) const
 

Private Attributes

Index filled_ = 0
 
metric_
 
metric_old_
 

Detailed Description

template<class T>
class votca::xtp::hist< T >

Definition at line 39 of file hist.h.

Member Function Documentation

◆ back()

template<class T >
const T & votca::xtp::hist< T >::back ( ) const
inline

Definition at line 51 of file hist.h.

◆ filled()

template<class T >
bool votca::xtp::hist< T >::filled ( ) const
inline

Definition at line 63 of file hist.h.

◆ getDiff()

template<class T >
T votca::xtp::hist< T >::getDiff ( ) const
inline

Definition at line 41 of file hist.h.

◆ push_back() [1/2]

template<class T >
void votca::xtp::hist< T >::push_back ( const T & metric)
inline

Definition at line 52 of file hist.h.

◆ push_back() [2/2]

template<class T >
void votca::xtp::hist< T >::push_back ( T && metric)
inline

Definition at line 57 of file hist.h.

◆ ReadFromCpt()

template<class T >
void votca::xtp::hist< T >::ReadFromCpt ( CheckpointReader & r)
inline

Definition at line 75 of file hist.h.

◆ ReadMetric() [1/2]

void votca::xtp::hist< Energy_terms >::ReadMetric ( Energy_terms & metric,
std::string tag,
CheckpointReader & r )
inlineprivate

Definition at line 105 of file hist.h.

◆ ReadMetric() [2/2]

template<class T >
void votca::xtp::hist< T >::ReadMetric ( T & metric,
std::string tag,
CheckpointReader & r )
inlineprivate

Definition at line 94 of file hist.h.

◆ WriteMetric() [1/2]

void votca::xtp::hist< Energy_terms >::WriteMetric ( const Energy_terms & metric,
std::string tag,
CheckpointWriter & w ) const
inlineprivate

Definition at line 111 of file hist.h.

◆ WriteMetric() [2/2]

template<class T >
void votca::xtp::hist< T >::WriteMetric ( const T & metric,
std::string tag,
CheckpointWriter & w ) const
inlineprivate

Definition at line 99 of file hist.h.

◆ WriteToCpt()

template<class T >
void votca::xtp::hist< T >::WriteToCpt ( CheckpointWriter & w) const
inline

Definition at line 65 of file hist.h.

Member Data Documentation

◆ filled_

template<class T >
Index votca::xtp::hist< T >::filled_ = 0
private

Definition at line 88 of file hist.h.

◆ metric_

template<class T >
T votca::xtp::hist< T >::metric_
private

Definition at line 89 of file hist.h.

◆ metric_old_

template<class T >
T votca::xtp::hist< T >::metric_old_
private

Definition at line 90 of file hist.h.


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