Code generator for C++ from YAML to generate network protocol parsers
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

11 行
167 B

class <%= @name %> {
virtual <%= @name %>() = 0;
<% if !(@attributes.nil?) %>
<%- @attributes.not_nil!.each do |attr| -%>
<%= attr.to_s %>
<%- end -%>
<% end %>
};