Belle II Software  release-08-01-10
RelationEntry Struct Reference

Struct for relations. More...

#include <RelationEntry.h>

Public Member Functions

 RelationEntry (TObject *obj=nullptr, float w=1.0)
 Constructor. More...
 

Public Attributes

TObject * object
 Pointer to the object.
 
float weight
 Weight of the relation.
 

Detailed Description

Struct for relations.

This class is supposed to be used by the data store to answer queries for objects that are pointed to by relations.

Definition at line 24 of file RelationEntry.h.

Constructor & Destructor Documentation

◆ RelationEntry()

RelationEntry ( TObject *  obj = nullptr,
float  w = 1.0 
)
inline

Constructor.

Parameters
objThe object that is pointed to by the relation.
wThe weight of the relation.

Definition at line 30 of file RelationEntry.h.

30 : object(obj), weight(w) {}
TObject * object
Pointer to the object.
Definition: RelationEntry.h:32
float weight
Weight of the relation.
Definition: RelationEntry.h:33

The documentation for this struct was generated from the following file: