strus  0.17
statisticsIteratorInterface.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_STATISTICS_ITERATOR_INTERFACE_HPP_INCLUDED
11 #define _STRUS_STATISTICS_ITERATOR_INTERFACE_HPP_INCLUDED
12 #include <cstddef>
13 
14 namespace strus
15 {
16 
19 {
20 
21 public:
24 
29  virtual bool getNext( const void*& msg, std::size_t& msgsize)=0;
30 };
31 
32 }//namespace
33 #endif
34 
virtual ~StatisticsIteratorInterface()
Destructor.
Definition: statisticsIteratorInterface.hpp:23
virtual bool getNext(const void *&msg, std::size_t &msgsize)=0
Fetches the next statistics message.
Interface for an iterator on statistics.
Definition: statisticsIteratorInterface.hpp:18