|
PandaTree
|
Template class for fixed-size container implementations. Inherits from base_type::array_type of the element class. More...
#include <Array.h>
Public Types | |
| typedef Array< E > | self_type |
| typedef E::base_type::array_type | base_type |
| typedef E | value_type |
| typedef value_type & | reference |
| typedef value_type const & | const_reference |
| typedef value_type * | pointer |
| typedef value_type const * | const_pointer |
| typedef utils::Iterator< self_type, false > | iterator |
| typedef utils::Iterator< self_type, true > | const_iterator |
Public Member Functions | |
| Array (UInt_t size, char const *name="") | |
| Array (self_type const &src) | |
| self_type & | operator= (self_type const &rhs) |
| reference | at (UInt_t idx) |
| Element accessor with range check. | |
| const_reference | at (UInt_t idx) const |
| Element accessor with range check. | |
| reference | operator[] (UInt_t idx) |
| Element accessor with no range check. | |
| const_reference | operator[] (UInt_t idx) const |
| Element accessor with no range check. | |
| iterator | begin () |
| Return an iterator pointing to the first element. | |
| const_iterator | begin () const |
| Return an iterator pointing to the first element. | |
| iterator | end () |
| Return an iterator pointing to the end of the array (invalid address) | |
| const_iterator | end () const |
| Return an iterator pointing to the end of the array (invalid address) | |
| reference | front () |
| Reference to the first element. | |
| const_reference | front () const |
| Reference to the first element. | |
| reference | back () |
| Reference to the last element. | |
| const_reference | back () const |
| Reference to the last element. | |
| void | copy (self_type const &) |
| Copy the array contents. | |
| Element::datastore & | getData () override |
| Element::datastore const & | getData () const override |
| Element & | elemAt (UInt_t idx) override |
| Element const & | elemAt (UInt_t idx) const override |
| std::vector< UInt_t > | sort (ContainerBase::Comparison const &) override |
| void | print (std::ostream &=std::cout, UInt_t level=1) const override |
| void | dump (std::ostream &=std::cout) const override |
Public Attributes | |
| value_type::datastore | data {} |
Protected Member Functions | |
| Array (char const *name, UInt_t unitSize, Bool_t dummy) | |
Template class for fixed-size container implementations. Inherits from base_type::array_type of the element class.
For a physics object class E that inherits from B, Panda containers inherit as Object <- ContainerBase <- ArrayBase <- Array <- Array<E> Object <- ContainerBase <- CollectionBase <- Collection <- Collection<E>
1.8.12