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
15namespace libetonyek
16{
17
19{
20public:
21 int getId(const char *name) const override;
22 int getQualifiedId(const char *name, const char *ns) const override;
23
24private:
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: */
Definition IWORKTokenizerBase.h:19
int getId(const char *name) const override
Definition IWORKTokenizerBase.cpp:15
int getQualifiedId(const char *name, const char *ns) const override
Definition IWORKTokenizerBase.cpp:23
virtual int queryId(const char *name) const =0
Try to get an ID for token name.
IWORKTokenizer(const IWORKTokenizer &)
@ name
Definition IWORKToken.h:585
Definition IWORKBezierElement.cpp:21

Generated for libetonyek by doxygen 1.13.2