6#include "Component.hpp"
22 int exportToXml(Component *root, std::string path =
"", std::function<
int(std::string,
void *, std::string *)> search_custom_attrib_key_fcn = NULL, std::function<
int(std::string,
void *, xmlNodePtr)> search_custom_complex_attrib_key_fcn = NULL);
35 int _search_default_complex_attrib_key(std::string key,
void* value, xmlNodePtr n);
48 int _search_default_attrib_key(std::string key,
void *value, std::string *ret_value_str);
59 xmlNodePtr _buildComponentSubtree(Component* root);
70 int _print_attrib(std::map<std::string, void *> attrib, xmlNodePtr n);