EICd
EIC data model
eicd::ProtoClusterCollection Class Reference

#include <ProtoClusterCollection.h>

Inheritance diagram for eicd::ProtoClusterCollection:

Public Types

using const_iterator = ProtoClusterCollectionIterator
 
using iterator = ProtoClusterMutableCollectionIterator
 

Public Member Functions

 ProtoClusterCollection ()
 
 ProtoClusterCollection (const ProtoClusterCollection &)=delete
 
ProtoClusterCollectionoperator= (const ProtoClusterCollection &)=delete
 
 ProtoClusterCollection (ProtoClusterCollection &&)=default
 
ProtoClusterCollectionoperator= (ProtoClusterCollection &&)=default
 
 ~ProtoClusterCollection ()
 
void clear () final
 
ProtoClusterCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
MutableProtoCluster create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
MutableProtoCluster create (Args &&... args)
 
size_t size () const final
 number of elements in the collection More...
 
std::string getTypeName () const final
 fully qualified type name More...
 
std::string getValueTypeName () const final
 fully qualified type name of elements - with namespace More...
 
std::string getDataTypeName () const final
 fully qualified type name of stored POD elements - with namespace More...
 
bool isSubsetCollection () const final
 
void setSubsetCollection (bool setSubset=true) final
 
ProtoCluster operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
MutableProtoCluster operator[] (unsigned int index)
 Returns the object of a given index. More...
 
ProtoCluster at (unsigned int index) const
 Returns the const object of given index. More...
 
MutableProtoCluster at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (ProtoCluster object)
 Append object to the collection. More...
 
void prepareForWrite () const final
 
void prepareAfterRead () final
 
bool setReferences (const podio::ICollectionProvider *collectionProvider) final
 
podio::CollectionBuffers getBuffers () final
 Get the collection buffers for this collection. More...
 
void setID (unsigned ID) final
 
unsigned getID () const final
 
bool isValid () const final
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Friends

class ProtoClusterCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ ProtoClusterCollection() [1/3]

eicd::ProtoClusterCollection::ProtoClusterCollection ( )

◆ ProtoClusterCollection() [2/3]

eicd::ProtoClusterCollection::ProtoClusterCollection ( const ProtoClusterCollection )
delete

◆ ProtoClusterCollection() [3/3]

eicd::ProtoClusterCollection::ProtoClusterCollection ( ProtoClusterCollection &&  )
default

◆ ~ProtoClusterCollection()

eicd::ProtoClusterCollection::~ProtoClusterCollection ( )

Member Function Documentation

◆ at() [1/2]

MutableProtoCluster eicd::ProtoClusterCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

ProtoCluster eicd::ProtoClusterCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eicd::ProtoClusterCollection::begin ( )
inline

◆ begin() [2/2]

const_iterator eicd::ProtoClusterCollection::begin ( ) const
inline

◆ clear()

void eicd::ProtoClusterCollection::clear ( )
final

◆ create() [1/2]

MutableProtoCluster eicd::ProtoClusterCollection::create ( )

Append a new object to the collection, and return this object.

◆ create() [2/2]

template<typename... Args>
MutableProtoCluster eicd::ProtoClusterCollection::create ( Args &&...  args)

Append a new object to the collection, and return this object. Initialized with the parameters given

◆ end() [1/2]

iterator eicd::ProtoClusterCollection::end ( )
inline

◆ end() [2/2]

const_iterator eicd::ProtoClusterCollection::end ( ) const
inline

◆ getBuffers()

podio::CollectionBuffers eicd::ProtoClusterCollection::getBuffers ( )
final

Get the collection buffers for this collection.

◆ getDataTypeName()

std::string eicd::ProtoClusterCollection::getDataTypeName ( ) const
inlinefinal

fully qualified type name of stored POD elements - with namespace

◆ getID()

unsigned eicd::ProtoClusterCollection::getID ( ) const
inlinefinal

◆ getTypeName()

std::string eicd::ProtoClusterCollection::getTypeName ( ) const
inlinefinal

fully qualified type name

◆ getValueTypeName()

std::string eicd::ProtoClusterCollection::getValueTypeName ( ) const
inlinefinal

fully qualified type name of elements - with namespace

◆ isSubsetCollection()

bool eicd::ProtoClusterCollection::isSubsetCollection ( ) const
inlinefinal

◆ isValid()

bool eicd::ProtoClusterCollection::isValid ( ) const
inlinefinal

◆ operator->()

ProtoClusterCollection * eicd::ProtoClusterCollection::operator-> ( )
inline

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

ProtoClusterCollection & eicd::ProtoClusterCollection::operator= ( const ProtoClusterCollection )
delete

◆ operator=() [2/2]

ProtoClusterCollection & eicd::ProtoClusterCollection::operator= ( ProtoClusterCollection &&  )
default

◆ operator[]() [1/2]

MutableProtoCluster eicd::ProtoClusterCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

ProtoCluster eicd::ProtoClusterCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ prepareAfterRead()

void eicd::ProtoClusterCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

void eicd::ProtoClusterCollection::prepareForWrite ( ) const
final

◆ push_back()

void eicd::ProtoClusterCollection::push_back ( ProtoCluster  object)

Append object to the collection.

◆ setID()

void eicd::ProtoClusterCollection::setID ( unsigned  ID)
inlinefinal

◆ setReferences()

bool eicd::ProtoClusterCollection::setReferences ( const podio::ICollectionProvider *  collectionProvider)
final

◆ setSubsetCollection()

void eicd::ProtoClusterCollection::setSubsetCollection ( bool  setSubset = true)
final

◆ size()

size_t eicd::ProtoClusterCollection::size ( ) const
final

number of elements in the collection

Friends And Related Function Documentation

◆ ProtoClusterCollectionData

friend class ProtoClusterCollectionData
friend

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