template <typename Visitor> void enumerateFields_gen(DirectiveControl obj, Visitor & vis) { vis(obj.code(),"code"); vis(obj.control(),"control"); vis(obj.type(),"type"); vis(obj.elementCount(),"valueCount"); vis(obj.values(),"values"); }
template <typename Visitor> void enumerateFields_gen(DirectiveControl obj, Visitor & vis) { enumerateFields_gen(Directive(obj), vis); vis(obj.control(),"control"); vis(obj.operands(),"operands"); }