#include <Snapshot.h>
Public Member Functions | |
Snapshot () | |
Default constructor. More... | |
~Snapshot () | |
Default destructor. More... | |
void | Clear () |
const IOVTimeStamp & | Start () const |
const IOVTimeStamp & | End () const |
void | SetIoV (const IOVTimeStamp &start, const IOVTimeStamp &end) |
bool | IsValid (const IOVTimeStamp &ts) const |
size_t | NChannels () const |
const std::vector< T > & | Data () const |
template<class U = T, typename std::enable_if< std::is_base_of< ChData, U >::value, int >::type = 0> | |
bool | HasChannel (unsigned int ch) const |
Only included with class if T has base class ChData. More... | |
template<class U = T, typename std::enable_if< std::is_base_of< ChData, U >::value, int >::type = 0> | |
const T & | GetRow (unsigned int ch) const |
template<class U = T, typename std::enable_if< std::is_base_of< ChData, U >::value, int >::type = 0> | |
void | AddOrReplaceRow (const T &data) |
Private Attributes | |
IOVTimeStamp | fStart |
IOVTimeStamp | fEnd |
std::vector< T > | fData |
Definition at line 31 of file Snapshot.h.
|
inline |
|
inline |
|
inline |
Definition at line 85 of file Snapshot.h.
void lariov::Snapshot< T >::Clear | ( | ) |
Definition at line 108 of file Snapshot.h.
|
inline |
Definition at line 52 of file Snapshot.h.
|
inline |
Definition at line 45 of file Snapshot.h.
|
inline |
Definition at line 70 of file Snapshot.h.
|
inline |
bool lariov::Snapshot< T >::IsValid | ( | const IOVTimeStamp & | ts | ) | const |
Definition at line 125 of file Snapshot.h.
|
inline |
Definition at line 50 of file Snapshot.h.
void lariov::Snapshot< T >::SetIoV | ( | const IOVTimeStamp & | start, |
const IOVTimeStamp & | end | ||
) |
Definition at line 115 of file Snapshot.h.
|
inline |
Definition at line 44 of file Snapshot.h.
|
private |
Definition at line 101 of file Snapshot.h.
|
private |
Definition at line 100 of file Snapshot.h.
|
private |
Definition at line 99 of file Snapshot.h.