EBOOKTokenizer.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 libe-book 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 EBOOKTOKENIZER_H_INCLUDED
11#define EBOOKTOKENIZER_H_INCLUDED
12
13namespace libebook
14{
15
17{
18public:
19 int getId(const char *name) const;
20 int getQualifiedId(const char *name, const char *ns) const;
21
22protected:
24
25private:
32 virtual int queryId(const char *name) const = 0;
33};
34
35}
36
37#endif // EBOOKTOKENIZERBASE_H_INCLUDED
38
39/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
string name
Definition HTMLHelpStream.cpp:80
Definition EBOOKTokenizer.h:17
int getId(const char *name) const
Definition EBOOKTokenizer.cpp:19
virtual int queryId(const char *name) const =0
Try to get an ID for token name.
~EBOOKTokenizer()
Definition EBOOKTokenizer.cpp:15
int getQualifiedId(const char *name, const char *ns) const
Definition EBOOKTokenizer.cpp:27
Definition BBeBCollector.cpp:19

Generated for libe-book by doxygen 1.10.0