![]() |
ATLAS Offline Software
|
Simple iterator-like object for writing to the container. More...
#include <CaloCompactCellContainer.h>
Public Member Functions | |
| compact_output_iterator () | |
| Default constructor. More... | |
| compact_output_iterator (std::vector< value_type >::iterator it) | |
| Constructor. More... | |
| void | set (CaloCompactCell::value_type x) |
| Set the next value, and advance the iterator. More... | |
| compact_output_iterator & | operator++ () |
| Advance the iterator. More... | |
| int | used () const |
Return the number of underlying value_type words used. More... | |
Private Attributes | |
| std::vector< value_type >::iterator | m_it |
| The iterator in the underlying container type. More... | |
| int | m_count |
Count; used to tell how many more times we need to shift m_word. More... | |
Simple iterator-like object for writing to the container.
This allows writing one CaloCompactCell::value_type object at a time to the container. There is a set method which writes one value to the container (and advances the iterator).
Definition at line 210 of file CaloCompactCellContainer.h.
|
inline |
Default constructor.
This makes an invalid iterator.
Definition at line 349 of file CaloCompactCellContainer.h.
|
inline |
Constructor.
| it | value_type iterator at the start of the data (after the header). |
Definition at line 355 of file CaloCompactCellContainer.h.
|
inline |
|
inline |
Set the next value, and advance the iterator.
| x | The value to copy to the container. |
Definition at line 363 of file CaloCompactCellContainer.h.
|
inline |
Return the number of underlying value_type words used.
Definition at line 394 of file CaloCompactCellContainer.h.
|
private |
Count; used to tell how many more times we need to shift m_word.
Definition at line 253 of file CaloCompactCellContainer.h.
|
private |
The iterator in the underlying container type.
Definition at line 250 of file CaloCompactCellContainer.h.
1.8.18