ATLAS Offline Software
Database
APR
PersistencySvc
PersistencySvc
ITokenIterator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INCLUDE_PERSISTENCYSVC_ITOKENITERATOR_H
6
#define INCLUDE_PERSISTENCYSVC_ITOKENITERATOR_H
7
8
#include <cstddef>
9
10
// forward declarations
11
class
Token
;
12
13
namespace
pool
{
14
21
class
ITokenIterator
{
22
public
:
24
virtual
~ITokenIterator
() {}
25
28
virtual
std::size_t
size
() = 0;
29
35
virtual
bool
seek
(std::size_t position) = 0;
36
42
virtual
Token
*
next
() = 0;
43
};
44
45
}
46
47
#endif
pool::ITokenIterator::seek
virtual bool seek(std::size_t position)=0
Seek to a given position in the collection.
pool
pool namespace
Definition:
libname.h:15
pool::ITokenIterator::next
virtual Token * next()=0
Returns the pointer to next token.
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition:
Token.h:21
pool::ITokenIterator
Definition:
ITokenIterator.h:21
pool::ITokenIterator::size
virtual std::size_t size()=0
Returns the size of the collection.
pool::ITokenIterator::~ITokenIterator
virtual ~ITokenIterator()
Empty destructor.
Definition:
ITokenIterator.h:24
Generated on Mon Sep 29 2025 21:12:13 for ATLAS Offline Software by
1.8.18