WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::ObjectArray2d< Thing > Class Template Reference

#include <ObjectArray2d.h>

Public Types

typedef std::vector< Thing > store_t
 
typedef store_t::iterator iterator
 
typedef store_t::const_iterator const_iterator
 

Public Member Functions

 ObjectArray2d (size_t nrows=0, size_t ncols=0)
 
void resize (size_t nrows, size_t ncols)
 
void reset ()
 
const Thing & operator() (size_t irow, size_t icol) const
 
Thing & operator() (size_t irow, size_t icol)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Detailed Description

template<typename Thing>
class WireCell::ObjectArray2d< Thing >

Definition at line 14 of file ObjectArray2d.h.

Member Typedef Documentation

◆ const_iterator

template<typename Thing>
typedef store_t::const_iterator WireCell::ObjectArray2d< Thing >::const_iterator

Definition at line 18 of file ObjectArray2d.h.

◆ iterator

template<typename Thing>
typedef store_t::iterator WireCell::ObjectArray2d< Thing >::iterator

Definition at line 17 of file ObjectArray2d.h.

◆ store_t

template<typename Thing>
typedef std::vector<Thing> WireCell::ObjectArray2d< Thing >::store_t

Definition at line 16 of file ObjectArray2d.h.

Constructor & Destructor Documentation

◆ ObjectArray2d()

template<typename Thing>
WireCell::ObjectArray2d< Thing >::ObjectArray2d ( size_t  nrows = 0,
size_t  ncols = 0 
)
inline

Definition at line 20 of file ObjectArray2d.h.

Member Function Documentation

◆ begin() [1/2]

template<typename Thing>
iterator WireCell::ObjectArray2d< Thing >::begin ( )
inline

Definition at line 46 of file ObjectArray2d.h.

◆ begin() [2/2]

template<typename Thing>
const_iterator WireCell::ObjectArray2d< Thing >::begin ( ) const
inline

Definition at line 48 of file ObjectArray2d.h.

◆ end() [1/2]

template<typename Thing>
iterator WireCell::ObjectArray2d< Thing >::end ( )
inline

Definition at line 47 of file ObjectArray2d.h.

◆ end() [2/2]

template<typename Thing>
const_iterator WireCell::ObjectArray2d< Thing >::end ( ) const
inline

Definition at line 49 of file ObjectArray2d.h.

◆ operator()() [1/2]

template<typename Thing>
const Thing& WireCell::ObjectArray2d< Thing >::operator() ( size_t  irow,
size_t  icol 
) const
inline

Definition at line 38 of file ObjectArray2d.h.

◆ operator()() [2/2]

template<typename Thing>
Thing& WireCell::ObjectArray2d< Thing >::operator() ( size_t  irow,
size_t  icol 
)
inline

Definition at line 41 of file ObjectArray2d.h.

◆ reset()

template<typename Thing>
void WireCell::ObjectArray2d< Thing >::reset ( )
inline

Definition at line 33 of file ObjectArray2d.h.

◆ resize()

template<typename Thing>
void WireCell::ObjectArray2d< Thing >::resize ( size_t  nrows,
size_t  ncols 
)
inline

Definition at line 27 of file ObjectArray2d.h.


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