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