2 #ifndef __ELEMPACKAGE_HPP__ 3 #define __ELEMPACKAGE_HPP__ 8 typedef Element * ( * ElementCreator )( void );
9 typedef Document * ( * DocumentCreator )( void );
10 typedef TextNode * ( * TextNodeCreator )( void );
11 typedef Block * ( * BlockCreator )( void );
22 static const char * ADDSLASHES;
41 void setEntitiesTable(
90 #endif // __ELEMPACKAGE_HPP__ XString< char > AnsiString
winux::AnsiString lBlockDelim
左块元素定界符
BlockCreatorTable blockTable
块名=>创建块的函数映射表
Element *(* ElementCreator)(void)
winux::MultiMatch text2entities
文本到实体
TextNode *(* TextNodeCreator)(void)
std::map< String, String > StringStringMap
winux::AnsiString rBlockDelim
右块元素定界符
winux::AnsiString rElemDelim
右定界符
winux::AnsiString lElemDelim
左定界符
TextNodeCreator textCreator
文本节点创建函数
std::map< winux::AnsiString, BlockCreator > BlockCreatorTable
Block *(* BlockCreator)(void)
winux::MultiMatch entities2text
实体到文本
std::map< winux::AnsiString, ElementCreator > ElementCreatorTable
ElementCreatorTable elemTable
元素名=>创建函数映射表