Home | History | Annotate | Download | only in flatbuffers

Lines Matching defs:schema

25 // Simply pre-populate it with all schema filenames that may be in use, and
27 // schema.
33 Schema schema;
34 schema.path_ = schema_path;
35 schemas_[file_identifier] = schema;
52 // Load and parse the schema.
68 // Load and parse the schema.
94 // Find the schema, if not, exit.
101 auto &schema = it->second;
102 // Load the schema from disk. If not, exit.
104 if (!LoadFile(schema.path_.c_str(), false, &schematext)) {
105 lasterror_ = "could not load schema: " + schema.path_;
108 // Parse schema.
111 schema.path_.c_str())) {
118 struct Schema {
120 // TODO(wvo) optionally cache schema file or parsed schema here.
126 std::map<std::string, Schema> schemas_;