Public Member Functions | Public Attributes | List of all members
WireCell::cluster_node_t Struct Reference

#include <ICluster.h>

Public Member Functions

 cluster_node_t ()
 
 cluster_node_t (const cluster_ptr_t &p)
 
 cluster_node_t (const IChannel::pointer &p)
 
 cluster_node_t (const IWire::pointer &p)
 
 cluster_node_t (const IBlob::pointer &p)
 
 cluster_node_t (const ISlice::pointer &p)
 
 cluster_node_t (const IChannel::shared_vector &p)
 
 cluster_node_t (const cluster_node_t &other)
 
char code () const
 
bool operator== (const cluster_node_t &other) const
 
cluster_node_toperator= (const cluster_node_t &other)
 

Public Attributes

cluster_ptr_t ptr
 

Detailed Description

Definition at line 35 of file ICluster.h.

Constructor & Destructor Documentation

WireCell::cluster_node_t::cluster_node_t ( )
inline

Definition at line 38 of file ICluster.h.

38  : ptr() {
39  }
cluster_ptr_t ptr
Definition: ICluster.h:36
WireCell::cluster_node_t::cluster_node_t ( const cluster_ptr_t p)
inline

Definition at line 40 of file ICluster.h.

40 : ptr(p) {}
p
Definition: test.py:223
cluster_ptr_t ptr
Definition: ICluster.h:36
WireCell::cluster_node_t::cluster_node_t ( const IChannel::pointer p)
inline

Definition at line 41 of file ICluster.h.

41 : ptr(p) {}
p
Definition: test.py:223
cluster_ptr_t ptr
Definition: ICluster.h:36
WireCell::cluster_node_t::cluster_node_t ( const IWire::pointer p)
inline

Definition at line 42 of file ICluster.h.

42 : ptr(p) {}
p
Definition: test.py:223
cluster_ptr_t ptr
Definition: ICluster.h:36
WireCell::cluster_node_t::cluster_node_t ( const IBlob::pointer p)
inline

Definition at line 43 of file ICluster.h.

43 : ptr(p) {}
p
Definition: test.py:223
cluster_ptr_t ptr
Definition: ICluster.h:36
WireCell::cluster_node_t::cluster_node_t ( const ISlice::pointer p)
inline

Definition at line 44 of file ICluster.h.

44 : ptr(p) {}
p
Definition: test.py:223
cluster_ptr_t ptr
Definition: ICluster.h:36
WireCell::cluster_node_t::cluster_node_t ( const IChannel::shared_vector p)
inline

Definition at line 45 of file ICluster.h.

45 : ptr(p) {}
p
Definition: test.py:223
cluster_ptr_t ptr
Definition: ICluster.h:36
WireCell::cluster_node_t::cluster_node_t ( const cluster_node_t other)
inline

Definition at line 47 of file ICluster.h.

47 : ptr(other.ptr) {}
cluster_ptr_t ptr
Definition: ICluster.h:36

Member Function Documentation

char WireCell::cluster_node_t::code ( ) const
inline

Definition at line 50 of file ICluster.h.

50  {
51  auto ind=ptr.index();
52  if (ind == std::variant_npos) { return 0; }
53  return "0cwbsm"[ind];
54  }
cluster_ptr_t ptr
Definition: ICluster.h:36
cluster_node_t& WireCell::cluster_node_t::operator= ( const cluster_node_t other)
inline

Definition at line 58 of file ICluster.h.

58  {
59  ptr = other.ptr;
60  return *this;
61  }
cluster_ptr_t ptr
Definition: ICluster.h:36
bool WireCell::cluster_node_t::operator== ( const cluster_node_t other) const
inline

Definition at line 55 of file ICluster.h.

55  {
56  return ptr == other.ptr;
57  }
cluster_ptr_t ptr
Definition: ICluster.h:36

Member Data Documentation

cluster_ptr_t WireCell::cluster_node_t::ptr

Definition at line 36 of file ICluster.h.


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