|
@ -128,15 +128,6 @@ class AttributeAfterGenerator |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
#v = ClassGenerator.new("record") |
|
|
|
|
|
#v.push(AttributeGenerator.new("uuid", "std::array<unsigned char, 16>", 0)) |
|
|
|
|
|
#v.push(AttributeGenerator.new("x", "bitops::regulated<int>", 16)) |
|
|
|
|
|
#v.push(AttributeGenerator.new("y", "bitops::regulated<int>", 20)) |
|
|
|
|
|
#f = FileGenerator.new |
|
|
|
|
|
#f.classes << v |
|
|
|
|
|
#f.includes << "<array>" |
|
|
|
|
|
#f.includes << "\"bitops.hpp\"" |
|
|
|
|
|
#puts f.to_s |
|
|
|
|
|
File.open(ARGV[0]) do |file| |
|
|
File.open(ARGV[0]) do |file| |
|
|
puts FileGenerator.from_yaml(file).to_s |
|
|
puts FileGenerator.from_yaml(file).to_s |
|
|
end |
|
|
end |