IWORKTokenizer.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 IWORKTOKENIZER_H_INCLUDED
11 #define IWORKTOKENIZER_H_INCLUDED
12
13 namespace libetonyek
14 {
15
16 class IWORKTokenizer
17 {
18 // disable copying
19 IWORKTokenizer(const IWORKTokenizer &);
20 IWORKTokenizer &operator=(const IWORKTokenizer &);
21
22 public:
23 virtual ~IWORKTokenizer() = 0;
24
25 virtual int getId(const char *name) const = 0;
26 virtual int getQualifiedId(const char *name, const char *ns) const = 0;
27
28 protected:
29 IWORKTokenizer();
30 };
31
32 }
33
34 #endif // IWORKTOKENIZER_H_INCLUDED
35
36 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::IWORKTokenizer::getQualifiedId
virtual int getQualifiedId(const char *name, const char *ns) const =0
libetonyek::IWORKTokenizer::operator=
IWORKTokenizer & operator=(const IWORKTokenizer &)
libetonyek::IWORKTokenizer::IWORKTokenizer
IWORKTokenizer()
Definition: IWORKTokenizer.cpp:19
libetonyek::IWORKTokenizer::~IWORKTokenizer
virtual ~IWORKTokenizer()=0
Definition: IWORKTokenizer.cpp:15
name
const char * name
Definition: IWORKToken.cpp:43
libetonyek::IWORKTokenizer
Definition: IWORKTokenizer.h:16
libetonyek::IWORKTokenizer::getId
virtual int getId(const char *name) const =0