Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
StorageManager
src
EnquingPolicyTag.cc
Go to the documentation of this file.
1
// $Id: EnquingPolicyTag.cc,v 1.3 2009/07/20 13:07:27 mommsen Exp $
3
4
#include "
EventFilter/StorageManager/interface/EnquingPolicyTag.h
"
5
6
using namespace
stor;
7
8
std::ostream&
enquing_policy::operator <<
( std::ostream& os,
9
const
enquing_policy::PolicyTag
& ptag )
10
{
11
switch
( ptag )
12
{
13
case
enquing_policy::DiscardNew
:
14
os <<
"Discard New"
;
15
break
;
16
case
enquing_policy::DiscardOld
:
17
os <<
"Discard Old"
;
18
break
;
19
case
enquing_policy::FailIfFull
:
20
os <<
"Fail If Full"
;
21
break
;
22
case
enquing_policy::Max
:
23
os <<
"Max"
;
24
break
;
25
default
:
26
os <<
"BUG: Undefined Policy"
;
27
}
28
return
os;
29
}
EnquingPolicyTag.h
stor::enquing_policy::Max
Definition:
EnquingPolicyTag.h:28
stor::enquing_policy::DiscardOld
Definition:
EnquingPolicyTag.h:26
stor::enquing_policy::operator<<
std::ostream & operator<<(std::ostream &os, const enquing_policy::PolicyTag &ptag)
Definition:
EnquingPolicyTag.cc:8
stor::enquing_policy::DiscardNew
Definition:
EnquingPolicyTag.h:25
stor::enquing_policy::PolicyTag
PolicyTag
Definition:
EnquingPolicyTag.h:23
stor::enquing_policy::FailIfFull
Definition:
EnquingPolicyTag.h:27
Generated for CMSSW Reference Manual by
1.8.5