|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
protogen code emitters. More...


Go to the source code of this file.
Namespaces | |
| namespace | protogen |
Functions | |
| std::string | protogen::cpp_ident (const std::string &name) |
| std::string | protogen::cpp_element_type (const ProtoField &f) |
| void | protogen::emit_enums (const ProtoFile &file, const std::string &out_dir) |
| void | protogen::emit_messages (const ProtoFile &file, const std::string &include_dir, const std::string &src_dir) |
| void | protogen::emit_registry (const ProtoFile &file, const std::string &include_dir, const std::string &src_dir) |
protogen code emitters.
Each writes one or more generated files (enums, message classes, the id<->type registry, message_id.hpp) from the parsed model.