EPUBCounter.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libepubgen project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_EPUBCOUNTER_H
11#define INCLUDED_EPUBCOUNTER_H
12
13namespace libepubgen
14{
15
17{
18 // disable copying
21
22public:
24
25 unsigned current() const;
26 unsigned next();
27
28private:
29 unsigned m_current;
30};
31
32}
33
34#endif // INCLUDED_EPUBCOUNTER_H
35
36/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition EPUBCounter.h:17
unsigned next()
Definition EPUBCounter.cpp:25
unsigned m_current
Definition EPUBCounter.h:29
unsigned current() const
Definition EPUBCounter.cpp:20
EPUBCounter(const EPUBCounter &)
EPUBCounter()
Definition EPUBCounter.cpp:15
EPUBCounter & operator=(const EPUBCounter &)
Definition EPUBBinaryContent.cpp:15

Generated for libepubgen by doxygen 1.12.0