LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar::util::assns_traits< Assns > Struct Template Reference

Data types for the specified association type (or its node). More...

#include "AssnsTraits.h"

Detailed Description

template<typename Assns>
struct lar::util::assns_traits< Assns >

Data types for the specified association type (or its node).

Template Parameters
Assnsart association type, or its node

The trait class is expected to provide the following types:

  • left_t: type at the left side of the association
  • right_t: type at the right side of the association
  • data_t: type of data bound to the association
  • leftptr_t: art pointer to the left side
  • rightptr_t: art pointer to the right side
  • dataptr_t: pointer to the bound metadata
  • assns_t: type of the art association object
  • art_assns_node_t: node in the associations list, representing a single connection between two objects and its metadata

and the following constant value:

  • hasMetadata: shortcut to know whether this node supports any metadata

The trait class is not defined for types other than art::Assns and its node type.

Definition at line 98 of file AssnsTraits.h.


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