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