Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  
itparserdecl.h
1#ifndef _MIMETIC_ITPARSER_DECL_H_
2#define _MIMETIC_ITPARSER_DECL_H_
3
4namespace mimetic
5{
6
7// gcc gives a warning if I move this into IteratorParser<Iterator, std::input_iterator_tag>
8typedef 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 */
16enum {
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
26template<typename Iterator, typename ItCategory>
27struct IteratorParser;
28
29}
30
31#endif
32
Definition body.h:18
Parse the input reading from an iterator.
Definition itparser.h:21