Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  
itparserdecl.h
1 #ifndef _MIMETIC_ITPARSER_DECL_H_
2 #define _MIMETIC_ITPARSER_DECL_H_
3 
4 namespace mimetic
5 {
6 
7 // gcc gives a warning if I move this into IteratorParser<Iterator, std::input_iterator_tag>
8 typedef unsigned int ParsingElem;
9 
10 /**
11  * Ignore Mask
12  * constants to use with load(...) functions if you don't want to load
13  * in memory the whole message but just some parts of it
14  * to save execution memory and time
15  */
16 enum {
17  imNone = 0,
18  imHeader = 1 << 6,
19  imBody = 1 << 7,
20  imChildParts = 1 << 8,
21  imPreamble = 1 << 9,
22  imEpilogue = 1 << 10
23 };
24 
25 // forward declaration
26 template<typename Iterator, typename ItCategory>
27 struct IteratorParser;
28 
29 }
30 
31 #endif
32