Template Class ConstXCDFField#

Inheritance Relationships#

Derived Type#

Class Documentation#

template<typename T>
class ConstXCDFField#

Subclassed by XCDFField< T >

Public Types

typedef XCDFFieldData<T> XCDFFieldDataType#
typedef XCDFFieldDataType::ConstIterator ConstIterator#

Iterate over the field.

Public Functions

inline ConstXCDFField(const XCDFFieldDataType *fieldData)#
inline ConstXCDFField()#

Allow default construction, but use of the default-constructed object is not allowed

inline bool HasParent() const#

Check if we have a parent.

inline ConstXCDFField<uint64_t> GetParent() const#

Get the parent field.

inline const std::string &GetName() const#
inline const std::string &GetParentName() const#
inline T GetResolution() const#
inline unsigned GetSize() const#

Get the number of entries in the field in the current event.

inline const T &At(const uint32_t index) const#

Get a value from the field.

inline const T &operator[](const uint32_t index) const#
inline const T &operator*() const#
inline ConstIterator Begin() const#
inline ConstIterator End() const#