to advance xml::ElementParseCreater
This commit is contained in:
@@ -47,20 +47,24 @@ namespace hgl
|
||||
class ElementParseCreater:public ElementParse
|
||||
{
|
||||
Stack<ElementCreater *> ecs_stack;
|
||||
|
||||
Map<AnsiString,ElementCreater *> ecs_map;
|
||||
|
||||
ElementCreater *root_ec;
|
||||
ElementCreater *cur_ec;
|
||||
|
||||
public:
|
||||
|
||||
ElementParseCreater(ElementCreater *rec)
|
||||
ElementParseCreater(ElementCreater *root_ec)
|
||||
{
|
||||
root_ec=rec;
|
||||
cur_ec=rec;
|
||||
cur_ec=nullptr;
|
||||
|
||||
Registry(root_ec);
|
||||
}
|
||||
|
||||
virtual ~ElementParseCreater()=default;
|
||||
|
||||
bool Registry (ElementCreater *ec);
|
||||
|
||||
public:
|
||||
|
||||
bool Start (const u8char *element_name) override;
|
||||
|
Reference in New Issue
Block a user