// this file is autogenerated, do not modify!!! #pragma once #include <string> #include <map> namespace dev { namespace eth { class ${ETH_RESOURCE_NAME} { public: ${ETH_RESOURCE_NAME}() { ${ETH_RESULT_DATA} ${ETH_RESULT_INIT} } std::string loadResourceAsString(std::string _name) { return std::string(m_resources[_name], m_sizes[_name]); } private: std::map <std::string, const char*> m_resources; std::map <std::string, unsigned> m_sizes; }; } }