Main Page
Class Categories
Classes
Namespaces
File List
File Members
exper-sw
cosmosw
AugerSW
Offline
source
main
Utilities
Deprecator
IteratorDeprecator.cc
Go to the documentation of this file.
1
8
#include <utl/IteratorDeprecator.h>
9
10
#include <string>
11
#include <iostream>
12
#include <sstream>
13
#include <utl/Deprecator.h>
14
15
using namespace
std;
16
using namespace
utl;
17
18
19
void
20
IteratorDeprecator::Deprecated(
const
std::string& theIteratorName)
21
{
22
ostringstream msg;
23
const
string
version =
"v3r1"
;
24
25
msg <<
"The default assumption of iterating over all elements with eHasData is deprecated. "
26
"Please explicitly specify what you want to iterate over. "
27
"The exact replacement for your code is '"
28
<< theIteratorName <<
"(ComponentSelector::eHasData)'."
;
29
30
Deprecator::GetInstance().Deprecated(theIteratorName, version, msg.str());
31
}
, generated on Tue Sep 26 2023.