Belle II Software development
RelationEntry Struct Reference

Struct for relations. More...

#include <RelationEntry.h>

Public Member Functions

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

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

Member Data Documentation

◆ object

TObject* object

Pointer to the object.

Definition at line 32 of file RelationEntry.h.

◆ weight

float weight

Weight of the relation.

Definition at line 33 of file RelationEntry.h.


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