RUBY CODE GENERATOR amqpgen.rb: builds an AMQP model from XML files and provides generic code generation functions (e.g. capitalization of names etc) cppgen.rb: C++ specific code generation functions. A template is a ruby file that generates one or more source files. For an example run samples/runme test The first argument is a directory for generated files, remaining arguments are xml files.