EBOOKTokenizer.h Source File documentation

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
16 class EBOOKTokenizer
17{
18public:
19 int getId(const char *name) const;
20 int getQualifiedId(const char *name, const char *ns) const;
21
22protected:
23 ~EBOOKTokenizer();
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: */
name
string name
Definition HTMLHelpStream.cpp:80
libebook::EBOOKTokenizer
Definition EBOOKTokenizer.h:17
libebook::EBOOKTokenizer::getId
int getId(const char *name) const
Definition EBOOKTokenizer.cpp:19
libebook::EBOOKTokenizer::queryId
virtual int queryId(const char *name) const =0
Try to get an ID for token name.
libebook::EBOOKTokenizer::~EBOOKTokenizer
~EBOOKTokenizer()
Definition EBOOKTokenizer.cpp:15
libebook::EBOOKTokenizer::getQualifiedId
int getQualifiedId(const char *name, const char *ns) const
Definition EBOOKTokenizer.cpp:27
libebook
Definition BBeBCollector.cpp:19