Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  

itparserdecl.h

00001 #ifndef _MIMETIC_ITPARSER_DECL_H_
00002 #define _MIMETIC_ITPARSER_DECL_H_
00003 
00004 namespace mimetic
00005 {
00006     
00007 // gcc gives a warning if I move this into  IteratorParser<Iterator, std::input_iterator_tag>
00008 typedef unsigned int ParsingElem;
00009 
00010 /** 
00011  * Ignore Mask
00012  * constants to use with load(...) functions if you don't want to load 
00013  * in memory the whole message but just some parts of it 
00014  * to save execution memory and time
00015  */
00016 enum { 
00017     imNone          = 0,
00018     imHeader        = 1 << 6,
00019     imBody          = 1 << 7,
00020     imChildParts    = 1 << 8,
00021     imPreamble      = 1 << 9,
00022     imEpilogue      = 1 << 10
00023 };
00024 
00025 // forward declaration
00026 template<typename Iterator, typename ItCategory>
00027 struct IteratorParser;
00028 
00029 }
00030 
00031 #endif
00032