| 649 | }; |
| 650 | |
| 651 | void SchemaToThrift(const GroupNode* schema, std::vector<format::SchemaElement>* out) { |
| 652 | SchemaVisitor visitor(out); |
| 653 | schema->VisitConst(&visitor); |
| 654 | } |
| 655 | |
| 656 | // ---------------------------------------------------------------------- |
| 657 | // Schema printing |