BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtCyclic3.cc File Reference
#include "EvtGenBase/EvtPatches.hh"
#include <assert.h>
#include <string.h>
#include <iostream>
#include "EvtGenBase/EvtCyclic3.hh"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, EvtCyclic3::Index i)
 
ostream & operator<< (ostream &os, EvtCyclic3::Pair i)
 

Function Documentation

◆ operator<<() [1/2]

ostream & operator<< ( ostream &  os,
EvtCyclic3::Index  i 
)

Definition at line 305 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtCyclic3.cc.

306{
307 switch(i) {
308 case A: { os << "A"; return os; }
309 case B: { os << "B"; return os; }
310 case C: { os << "C"; return os; }
311 }
312 assert(0); return os; // should never get here
313}

◆ operator<<() [2/2]

ostream & operator<< ( ostream &  os,
EvtCyclic3::Pair  i 
)

Definition at line 316 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtCyclic3.cc.

317{
318 switch(i) {
319 case BC: { os << "BC"; return os; }
320 case CA: { os << "CA"; return os; }
321 case AB: { os << "AB"; return os; }
322 }
323 assert(0); return os; // should never get here
324}