Enumerations | Functions
art::input Namespace Reference

Enumerations

enum  ItemType {
  IsInvalid, IsStop, IsFile, IsRun,
  IsSubRun, IsEvent
}
 

Functions

std::ostream & operator<< (std::ostream &os, ItemType const it)
 

Enumeration Type Documentation

Enumerator
IsInvalid 
IsStop 
IsFile 
IsRun 
IsSubRun 
IsEvent 

Definition at line 22 of file InputSource.h.

Function Documentation

std::ostream& art::input::operator<< ( std::ostream &  os,
ItemType const  it 
)
inline

Definition at line 32 of file InputSource.h.

33  {
34  switch (it) {
35  case IsInvalid:
36  os << "Invalid";
37  break;
38  case IsStop:
39  os << "Stop";
40  break;
41  case IsFile:
42  os << "InputFile";
43  break;
44  case IsRun:
45  os << "Run";
46  break;
47  case IsSubRun:
48  os << "SubRun";
49  break;
50  case IsEvent:
51  os << "Event";
52  break;
53  }
54  return os;
55  }