Home | History | Annotate | Download | only in json_to_struct

Lines Matching refs:basepath

83 def _GenerateH(basepath, fileroot, head, namespace, schema, description):
88 basepath: The base directory in which files are generated.
89 fileroot: The filename and path, relative to basepath, of the file to
99 with open(os.path.join(basepath, h_filename), 'w') as f:
136 def _GenerateCC(basepath, fileroot, head, namespace, schema, description):
141 basepath: The base directory in which files are generated.
142 fileroot: The filename and path, relative to basepath, of the file to
151 with open(os.path.join(basepath, fileroot + '.cc'), 'w') as f:
202 basepath = os.path.normpath(opts.destbase)
204 basepath = ''
210 _GenerateH(basepath, output_root, head, opts.namespace, schema, description)
211 _GenerateCC(basepath, output_root, head, opts.namespace, schema, description)