IWORKTokenizerBase.h Source File documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

IWORKTokenizerBase.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 libetonyek 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 IWORKTOKENIZERBASE_H_INCLUDED
11 #define IWORKTOKENIZERBASE_H_INCLUDED
12
13 #include "IWORKTokenizer.h"
14
15 namespace libetonyek
16 {
17
18 class IWORKTokenizerBase : public IWORKTokenizer
19 {
20 public:
21 virtual int getId(const char *name) const;
22 virtual int getQualifiedId(const char *name, const char *ns) const;
23
24 private:
31 virtual int queryId(const char *name) const = 0;
32 };
33
34 }
35
36 #endif // IWORKTOKENIZERBASE_H_INCLUDED
37
38 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::IWORKTokenizerBase::queryId
virtual int queryId(const char *name) const =0
Try to get an ID for token name.
libetonyek
Definition: IWORKBezierElement.cpp:18
libetonyek::IWORKTokenizerBase::getQualifiedId
virtual int getQualifiedId(const char *name, const char *ns) const
Definition: IWORKTokenizerBase.cpp:23
IWORKTokenizer.h
name
const char * name
Definition: IWORKToken.cpp:43
libetonyek::IWORKTokenizerBase
Definition: IWORKTokenizerBase.h:18
libetonyek::IWORKTokenizer
Definition: IWORKTokenizer.h:16
libetonyek::IWORKTokenizerBase::getId
virtual int getId(const char *name) const
Definition: IWORKTokenizerBase.cpp:15