equal
deleted
inserted
replaced
74 yaml_parser_set_input(&yamlParser, readFromInput, (void*) this); |
74 yaml_parser_set_input(&yamlParser, readFromInput, (void*) this); |
75 } |
75 } |
76 |
76 |
77 virtual ~XMLDocumentConstructor() { |
77 virtual ~XMLDocumentConstructor() { |
78 yaml_parser_delete(&yamlParser); |
78 yaml_parser_delete(&yamlParser); |
|
79 } |
|
80 |
|
81 void setOption(const std::string& uri, const std::string& value) { |
79 } |
82 } |
80 |
83 |
81 void process() { |
84 void process() { |
82 current = parser->get_document()->create_root_node("yaml"); |
85 current = parser->get_document()->create_root_node("yaml"); |
83 mode.push_back(Mode::ROOT); |
86 mode.push_back(Mode::ROOT); |