Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
wirecell.util.wires.db.ConductorWireLink Class Reference
Inheritance diagram for wirecell.util.wires.db.ConductorWireLink:
Base

Public Member Functions

def __repr__ (self)
 
- Public Member Functions inherited from Base
virtual std::string who () const
 
virtual ~Base () noexcept=default
 

Static Public Attributes

 conductor_id = Column(Integer, ForeignKey('conductors.id'), primary_key = True)
 
 wire_id = Column(Integer, ForeignKey('wires.id'), primary_key = True)
 
 conductor = relationship('Conductor', back_populates='wire_links')
 
 wire = relationship('Wire', back_populates='conductor_links')
 
 segment = Column(Integer)
 

Static Private Attributes

string __tablename__ = 'conductor_wire_links'
 

Detailed Description

A join table for conductor-wire association.

Definition at line 632 of file db.py.

Member Function Documentation

def wirecell.util.wires.db.ConductorWireLink.__repr__ (   self)

Definition at line 646 of file db.py.

646  def __repr__(self):
647  return "<ConductorWireLink segment:%s [%s %s]> " % \
648  (self.segment, self.conductor, self.wire)
649 
650 

Member Data Documentation

string wirecell.util.wires.db.ConductorWireLink.__tablename__ = 'conductor_wire_links'
staticprivate

Definition at line 636 of file db.py.

wirecell.util.wires.db.ConductorWireLink.conductor = relationship('Conductor', back_populates='wire_links')
static

Definition at line 641 of file db.py.

wirecell.util.wires.db.ConductorWireLink.conductor_id = Column(Integer, ForeignKey('conductors.id'), primary_key = True)
static

Definition at line 638 of file db.py.

wirecell.util.wires.db.ConductorWireLink.segment = Column(Integer)
static

Definition at line 644 of file db.py.

wirecell.util.wires.db.ConductorWireLink.wire = relationship('Wire', back_populates='conductor_links')
static

Definition at line 642 of file db.py.

wirecell.util.wires.db.ConductorWireLink.wire_id = Column(Integer, ForeignKey('wires.id'), primary_key = True)
static

Definition at line 639 of file db.py.


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