ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
TIterator.cxx
Go to the documentation of this file.
1
// @(#)root/cont:$Id$
2
// Author: Fons Rademakers 13/08/95
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
/** \class TIterator
13
\ingroup Containers
14
Iterator abstract base class. This base class provides the interface
15
for collection iterators.
16
*/
17
18
#include "
TIterator.h
"
19
#include "
TError.h
"
20
21
ClassImp(TIterator);
22
23
////////////////////////////////////////////////////////////////////////////////
24
/// Compare two iterator objects.
25
/// For backward compatibility reasons we have to provide this
26
/// default implementation.
27
28
Bool_t TIterator::operator!=(
const
TIterator &)
const
29
{
30
::Warning(
"TIterator::operator!="
,
"this method must be overridden!"
);
31
return
false
;
32
}
33
34
////////////////////////////////////////////////////////////////////////////////
35
/// Return current object or nullptr.
36
/// For backward compatibility reasons we have to provide this
37
/// default implementation.
38
39
TObject *TIterator::operator*()
const
40
{
41
::Warning(
"TIterator::operator*"
,
"this method must be overridden!"
);
42
return
nullptr
;
43
}
TIterator.h
TError.h
core
cont
src
TIterator.cxx
Generated on Tue May 5 2020 14:02:22 for ROOT by
1.8.5