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
13
namespace
libepubgen
14
{
15
16
class
EPUBCounter
17
{
18
// disable copying
19
EPUBCounter
(
const
EPUBCounter
&);
20
EPUBCounter
&
operator=
(
const
EPUBCounter
&);
21
22
public
:
23
EPUBCounter
();
24
25
unsigned
current
()
const
;
26
unsigned
next
();
27
28
private
:
29
unsigned
m_current
;
30
};
31
32
}
33
34
#endif // INCLUDED_EPUBCOUNTER_H
35
36
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libepubgen::EPUBCounter::EPUBCounter
EPUBCounter()
Definition:
EPUBCounter.cpp:15
libepubgen::EPUBCounter::operator=
EPUBCounter & operator=(const EPUBCounter &)
libepubgen
Definition:
EPUBBinarySink.cpp:12
libepubgen::EPUBCounter
Definition:
EPUBCounter.h:16
libepubgen::EPUBCounter::next
unsigned next()
Definition:
EPUBCounter.cpp:25
libepubgen::EPUBCounter::m_current
unsigned m_current
Definition:
EPUBCounter.h:29
libepubgen::EPUBCounter::current
unsigned current() const
Definition:
EPUBCounter.cpp:20
EPUBCounter.h
Generated for libepubgen by
doxygen
1.8.16