RBToken.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 RBTOKEN_H_INCLUDED
11 #define RBTOKEN_H_INCLUDED
12 
13 #include <boost/static_assert.hpp>
14 
15 #include "EBOOKToken.h"
16 
17 namespace libebook
18 {
19 
20 namespace RBToken
21 {
22 
23 enum
24 {
27 
28  // keys
47  URL,
49 
50  // values
52 
54 };
55 
57 
58 }
59 
60 int getRBTokenId(const char *name, const char *ns = 0);
61 int getRBTokenId(const char *name, std::size_t nameLen, const char *ns, std::size_t nsLen);
62 int getRBTokenId(const char *name, std::size_t nameLen);
63 
64 }
65 
66 #endif // RBTOKEN_H_INCLUDED
67 
68 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
RBToken.h
libebook::RBToken::INVALID_TOKEN
@ INVALID_TOKEN
Definition: RBToken.h:25
libebook::RBToken::URL
@ URL
Definition: RBToken.h:47
libebook::RBToken::COPYRIGHT
@ COPYRIGHT
Definition: RBToken.h:32
libebook::RBToken::GENERATOR
@ GENERATOR
Definition: RBToken.h:35
libebook::RBToken::FIRST_TOKEN
@ FIRST_TOKEN
Definition: RBToken.h:26
libebook::RBToken::BOOST_STATIC_ASSERT
BOOST_STATIC_ASSERT(EBOOKToken< RBParser >::LAST_TOKEN >=LAST_TOKEN)
libebook::RBToken::ISBN
@ ISBN
Definition: RBToken.h:36
libebook
Definition: CHMParser.cpp:21
libebook::EBOOKToken
Definition: EBOOKToken.h:18
libebook::RBToken::PARSE
@ PARSE
Definition: RBToken.h:39
libebook::RBToken::TYPE
@ TYPE
Definition: RBToken.h:46
libebook::RBToken::LAST_TOKEN
@ LAST_TOKEN
Definition: RBToken.h:53
libebook::RBToken::PUB_NAME
@ PUB_NAME
Definition: RBToken.h:41
libebook::RBToken::BODY
@ BODY
Definition: RBToken.h:30
libebook::getRBTokenId
int getRBTokenId(const char *const name, const char *const ns)
Definition: RBToken.cpp:27
libebook::RBToken::OUTPUT
@ OUTPUT
Definition: RBToken.h:38
libebook::RBToken::REVISION
@ REVISION
Definition: RBToken.h:42
libebook::RBToken::SuggestedRetailPrice
@ SuggestedRetailPrice
Definition: RBToken.h:43
libebook::RBToken::AUTHOR
@ AUTHOR
Definition: RBToken.h:29
libebook::RBToken::COMMENT
@ COMMENT
Definition: RBToken.h:31
libebook::RBToken::TITLE_LANGUAGE
@ TITLE_LANGUAGE
Definition: RBToken.h:45
name
string name
Definition: CHMStream.cpp:80
libebook::RBToken::unknown
@ unknown
Definition: RBToken.h:51
libebook::RBToken::COPY_ID
@ COPY_ID
Definition: RBToken.h:34
libebook::RBToken::USERNAME
@ USERNAME
Definition: RBToken.h:48
EBOOKToken.h
libebook::RBToken::COPYTITLE
@ COPYTITLE
Definition: RBToken.h:33
libebook::RBToken::TITLE
@ TITLE
Definition: RBToken.h:44
libebook::RBToken::MENUMARK
@ MENUMARK
Definition: RBToken.h:37
libebook::RBToken::PUBSERVER_ID
@ PUBSERVER_ID
Definition: RBToken.h:40

Generated for libe-book by doxygen 1.8.18