ATLAS Offline Software
|
Internal class not to be used by end user. More...
#include <MonitoredCollection.h>
Public Types | |
using | value_type = typename detail::get_value_type< T >::value_type |
Type of the collection elements. More... | |
Public Member Functions | |
ValuesRefCollection (ValuesRefCollection &&)=default | |
virtual double | get ([[maybe_unused]] size_t i) const override |
virtual std::string | getString ([[maybe_unused]] size_t i) const override |
virtual bool | hasStringRepresentation () const override |
virtual size_t | size () const override |
Private Member Functions | |
ValuesRefCollection (std::string vname, const std::reference_wrapper< T > &collection) | |
ValuesRefCollection (ValuesRefCollection const &)=delete | |
ValuesRefCollection & | operator= (ValuesRefCollection const &)=delete |
Private Attributes | |
const std::reference_wrapper< T > & | m_collection |
Friends | |
ValuesRefCollection< T > | Collection (std::string name, const std::reference_wrapper< T > &collection) |
Declare a monitored (double-convertible) collection reference. More... | |
ValuesRefCollection< T > | Collection (std::string name, const std::reference_wrapper< T > &&collection) |
Internal class not to be used by end user.
Definition at line 18 of file MonitoredCollection.h.
using Monitored::ValuesRefCollection< T >::value_type = typename detail::get_value_type<T>::value_type |
Type of the collection elements.
Definition at line 232 of file MonitoredCollection.h.
|
default |
|
inlineprivate |
Definition at line 268 of file MonitoredCollection.h.
|
privatedelete |
|
inlineoverridevirtual |
Definition at line 242 of file MonitoredCollection.h.
|
inlineoverridevirtual |
Definition at line 249 of file MonitoredCollection.h.
|
inlineoverridevirtual |
Definition at line 256 of file MonitoredCollection.h.
|
privatedelete |
|
inlineoverridevirtual |
Definition at line 260 of file MonitoredCollection.h.
|
friend |
|
friend |
Declare a monitored (double-convertible) collection reference.
T | Type of collection |
name | Name of monitored quantity |
collection | std::reference_wrapper to collection to be monitored (e.g. STL container or array) |
Various types of collections can be monitored. STL containers:
or more generally, any iterable container:
Definition at line 61 of file MonitoredCollection.h.
|
private |
Definition at line 265 of file MonitoredCollection.h.