Belle II Software  release-08-01-10
RelationVectorBase Class Reference

base class for RelationVector<T> More...

#include <RelationVector.h>

Inheritance diagram for RelationVectorBase:
Collaboration diagram for RelationVectorBase:

Public Member Functions

 RelationVectorBase ()
 Construct empty set.
 
 RelationVectorBase (const std::string &name, int index, const std::vector< Belle2::RelationEntry > &relations, const std::vector< std::string > &names)
 Constructor. More...
 

Protected Member Functions

void add (const RelationVectorBase &other)
 add another list of relations. More...
 
void apply (int index, const std::function< void(std::vector< unsigned int > &, std::vector< float > &, size_t)> &f)
 apply function to the relation associated with the RelationEntry at given index.
 

Protected Attributes

std::string m_name
 entry name of array containing object these relations belong to.
 
int m_index { -1}
 index of object these relations belong to.
 
std::vector< RelationEntrym_relations
 The vector of relation entries.
 
std::vector< std::string > m_relationNames
 Names of associated relations.
 

Friends

class DataStore
 

Detailed Description

base class for RelationVector<T>

Definition at line 24 of file RelationVector.h.

Constructor & Destructor Documentation

◆ RelationVectorBase()

RelationVectorBase ( const std::string &  name,
int  index,
const std::vector< Belle2::RelationEntry > &  relations,
const std::vector< std::string > &  names 
)
inline

Constructor.


Definition at line 30 of file RelationVector.h.

Member Function Documentation

◆ add()

void add ( const RelationVectorBase other)
protected

add another list of relations.

(internal use)

Definition at line 59 of file RelationVector.cc.


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