コード例 #1
0
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");
}
コード例 #2
0
template <typename Visitor> void enumerateFields_gen(DirectiveControl obj,  Visitor & vis) {
  enumerateFields_gen(Directive(obj), vis);
  vis(obj.control(),"control");
  vis(obj.operands(),"operands");
}