|
BOSS 8.0.0
BESIII Offline Software System
|
#include <RelTable.h>
Public Member Functions | |
| RelTable () | |
| RelTable (ObjectList< Relation< T1, T2 > > *rels) | |
| void | init () |
| Initialize the internal pointer to an ObjectList of relations. | |
| void | addDupRel (Relation< T1, T2 > *rel) |
| bool | addRelation (Relation< T1, T2 > *rel) |
| std::vector< Relation< T1, T2 > * > | getRelByFirst (const T1 *pobj) const |
| std::vector< Relation< T1, T2 > * > | getRelBySecond (const T2 *pobj) const |
| void | erase (Relation< T1, T2 > *rel) |
| void | changeFirst (Relation< T1, T2 > *rel, T1 *pobj) |
| void | changeSecond (Relation< T1, T2 > *rel, T2 *pobj) |
| unsigned long | size () const |
| This method returns the number of relations in the table. | |
| ObjectList< Relation< T1, T2 > > * | getAllRelations () const |
| Returns the pointer to the collection of relations. | |
| RelTable () | |
| RelTable (ObjectList< Relation< T1, T2 > > *rels) | |
| void | init () |
| Initialize the internal pointer to an ObjectList of relations. | |
| void | addDupRel (Relation< T1, T2 > *rel) |
| bool | addRelation (Relation< T1, T2 > *rel) |
| std::vector< Relation< T1, T2 > * > | getRelByFirst (const T1 *pobj) const |
| std::vector< Relation< T1, T2 > * > | getRelBySecond (const T2 *pobj) const |
| void | erase (Relation< T1, T2 > *rel) |
| void | changeFirst (Relation< T1, T2 > *rel, T1 *pobj) |
| void | changeSecond (Relation< T1, T2 > *rel, T2 *pobj) |
| unsigned long | size () const |
| This method returns the number of relations in the table. | |
| ObjectList< Relation< T1, T2 > > * | getAllRelations () const |
| Returns the pointer to the collection of relations. | |
| RelTable () | |
| RelTable (ObjectList< Relation< T1, T2 > > *rels) | |
| void | init () |
| Initialize the internal pointer to an ObjectList of relations. | |
| void | addDupRel (Relation< T1, T2 > *rel) |
| bool | addRelation (Relation< T1, T2 > *rel) |
| std::vector< Relation< T1, T2 > * > | getRelByFirst (const T1 *pobj) const |
| std::vector< Relation< T1, T2 > * > | getRelBySecond (const T2 *pobj) const |
| void | erase (Relation< T1, T2 > *rel) |
| void | changeFirst (Relation< T1, T2 > *rel, T1 *pobj) |
| void | changeSecond (Relation< T1, T2 > *rel, T2 *pobj) |
| unsigned long | size () const |
| This method returns the number of relations in the table. | |
| ObjectList< Relation< T1, T2 > > * | getAllRelations () const |
| Returns the pointer to the collection of relations. | |
Definition at line 26 of file InstallArea/x86_64-el9-gcc13-opt/include/RelTable/RelTable.h.
|
inline |
Definition at line 29 of file Event/RelTable/include/RelTable/RelTable.h.
|
inline |
Definition at line 112 of file Event/RelTable/include/RelTable/RelTable.h.
|
inline |
Definition at line 29 of file InstallArea/x86_64-el9-gcc13-dbg/include/RelTable/RelTable.h.
| Event::RelTable< T1, T2 >::RelTable | ( | ObjectList< Relation< T1, T2 > > * | rels | ) |
|
inline |
Definition at line 29 of file InstallArea/x86_64-el9-gcc13-opt/include/RelTable/RelTable.h.
| Event::RelTable< T1, T2 >::RelTable | ( | ObjectList< Relation< T1, T2 > > * | rels | ) |
| void RelTable::addDupRel | ( | Relation< T1, T2 > * | rel | ) |
The following method add a new Relation to the table, even if there is already a relation with the same two objects (they could have different infos vector)
Definition at line 117 of file Event/RelTable/include/RelTable/RelTable.h.
| void Event::RelTable< T1, T2 >::addDupRel | ( | Relation< T1, T2 > * | rel | ) |
The following method add a new Relation to the table, even if there is already a relation with the same two objects (they could have different infos vector)
| void Event::RelTable< T1, T2 >::addDupRel | ( | Relation< T1, T2 > * | rel | ) |
The following method add a new Relation to the table, even if there is already a relation with the same two objects (they could have different infos vector)
| bool RelTable::addRelation | ( | Relation< T1, T2 > * | rel | ) |
The following method add a Relation to the table if it doesn't contain a relation between the same two objects, otherwise it appends the info vector to the exsisting relation
| rel | is a pointer to a relation between two objects |
Definition at line 127 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by changeFirst(), changeSecond(), MucRecTrkExt::execute(), and main().
| bool Event::RelTable< T1, T2 >::addRelation | ( | Relation< T1, T2 > * | rel | ) |
The following method add a Relation to the table if it doesn't contain a relation between the same two objects, otherwise it appends the info vector to the exsisting relation
| rel | is a pointer to a relation between two objects |
| bool Event::RelTable< T1, T2 >::addRelation | ( | Relation< T1, T2 > * | rel | ) |
The following method add a Relation to the table if it doesn't contain a relation between the same two objects, otherwise it appends the info vector to the exsisting relation
| rel | is a pointer to a relation between two objects |
| void RelTable::changeFirst | ( | Relation< T1, T2 > * | rel, |
| T1 * | pobj ) |
This method change the first data pointer of a given relation contained into the table.
| rel | it's a pointer to the relation to be modified |
| pobj | is the new data value provided by the user |
Definition at line 203 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by main().
| void Event::RelTable< T1, T2 >::changeFirst | ( | Relation< T1, T2 > * | rel, |
| T1 * | pobj ) |
This method change the first data pointer of a given relation contained into the table.
| rel | it's a pointer to the relation to be modified |
| pobj | is the new data value provided by the user |
| void Event::RelTable< T1, T2 >::changeFirst | ( | Relation< T1, T2 > * | rel, |
| T1 * | pobj ) |
This method change the first data pointer of a given relation contained into the table.
| rel | it's a pointer to the relation to be modified |
| pobj | is the new data value provided by the user |
| void RelTable::changeSecond | ( | Relation< T1, T2 > * | rel, |
| T2 * | pobj ) |
This method change the second data pointer of a given relation contained into the table.
| rel | it's a pointer to the relation to be modified |
| pobj | is the new data value provided by the user |
Definition at line 215 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by main().
| void Event::RelTable< T1, T2 >::changeSecond | ( | Relation< T1, T2 > * | rel, |
| T2 * | pobj ) |
This method change the second data pointer of a given relation contained into the table.
| rel | it's a pointer to the relation to be modified |
| pobj | is the new data value provided by the user |
| void Event::RelTable< T1, T2 >::changeSecond | ( | Relation< T1, T2 > * | rel, |
| T2 * | pobj ) |
This method change the second data pointer of a given relation contained into the table.
| rel | it's a pointer to the relation to be modified |
| pobj | is the new data value provided by the user |
| void RelTable::erase | ( | Relation< T1, T2 > * | rel | ) |
This method erase a particular relation from the table (keeping the integrity).
| rel | it's a pointer to the relation to be erased |
Definition at line 192 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by main().
| void Event::RelTable< T1, T2 >::erase | ( | Relation< T1, T2 > * | rel | ) |
This method erase a particular relation from the table (keeping the integrity).
| rel | it's a pointer to the relation to be erased |
| void Event::RelTable< T1, T2 >::erase | ( | Relation< T1, T2 > * | rel | ) |
This method erase a particular relation from the table (keeping the integrity).
| rel | it's a pointer to the relation to be erased |
|
inline |
Returns the pointer to the collection of relations.
Definition at line 233 of file Event/RelTable/include/RelTable/RelTable.h.
| ObjectList< Relation< T1, T2 > > * Event::RelTable< T1, T2 >::getAllRelations | ( | ) | const |
Returns the pointer to the collection of relations.
| ObjectList< Relation< T1, T2 > > * Event::RelTable< T1, T2 >::getAllRelations | ( | ) | const |
Returns the pointer to the collection of relations.
| std::vector< Relation< T1, T2 > * > RelTable::getRelByFirst | ( | const T1 * | pobj | ) | const |
This method search for all relations having obj in the first field.
| obj | it's a pointer to the object given by the user |
Definition at line 146 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by MucRecTrkExt::execute(), and main().
| std::vector< Relation< T1, T2 > * > Event::RelTable< T1, T2 >::getRelByFirst | ( | const T1 * | pobj | ) | const |
This method search for all relations having obj in the first field.
| obj | it's a pointer to the object given by the user |
| std::vector< Relation< T1, T2 > * > Event::RelTable< T1, T2 >::getRelByFirst | ( | const T1 * | pobj | ) | const |
This method search for all relations having obj in the first field.
| obj | it's a pointer to the object given by the user |
| std::vector< Relation< T1, T2 > * > RelTable::getRelBySecond | ( | const T2 * | pobj | ) | const |
This method search for all relations having pobj in the second field.
| pobj | it's a pointer to the object given by the user |
Definition at line 170 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by main().
| std::vector< Relation< T1, T2 > * > Event::RelTable< T1, T2 >::getRelBySecond | ( | const T2 * | pobj | ) | const |
This method search for all relations having pobj in the second field.
| pobj | it's a pointer to the object given by the user |
| std::vector< Relation< T1, T2 > * > Event::RelTable< T1, T2 >::getRelBySecond | ( | const T2 * | pobj | ) | const |
This method search for all relations having pobj in the second field.
| pobj | it's a pointer to the object given by the user |
|
inline |
Initialize the internal pointer to an ObjectList of relations.
Definition at line 33 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by MucRecTrkExt::execute(), and main().
|
inline |
Initialize the internal pointer to an ObjectList of relations.
Definition at line 33 of file InstallArea/x86_64-el9-gcc13-dbg/include/RelTable/RelTable.h.
|
inline |
Initialize the internal pointer to an ObjectList of relations.
Definition at line 33 of file InstallArea/x86_64-el9-gcc13-opt/include/RelTable/RelTable.h.
|
inline |
This method returns the number of relations in the table.
Definition at line 226 of file Event/RelTable/include/RelTable/RelTable.h.
Referenced by MucRecTrkExt::execute(), and main().
| unsigned long Event::RelTable< T1, T2 >::size | ( | ) | const |
This method returns the number of relations in the table.
| unsigned long Event::RelTable< T1, T2 >::size | ( | ) | const |
This method returns the number of relations in the table.