BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtCyclic3.cc File Reference
#include "EvtPatches.hh"
#include "EvtCyclic3.hh"
#include <assert.h>
#include <iostream>
#include <string.h>

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 290 of file EvtCyclic3.cc.

290 {
291 switch ( i )
292 {
293 case A: {
294 os << "A";
295 return os;
296 }
297 case B: {
298 os << "B";
299 return os;
300 }
301 case C: {
302 os << "C";
303 return os;
304 }
305 }
306 assert( 0 );
307 return os; // should never get here
308}

◆ operator<<() [2/2]

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

Definition at line 310 of file EvtCyclic3.cc.

310 {
311 switch ( i )
312 {
313 case BC: {
314 os << "BC";
315 return os;
316 }
317 case CA: {
318 os << "CA";
319 return os;
320 }
321 case AB: {
322 os << "AB";
323 return os;
324 }
325 }
326 assert( 0 );
327 return os; // should never get here
328}