MCPcopy Create free account
hub / github.com/IENT/YUView / writeBeginningToHeader

Function writeBeginningToHeader

tools/standardTextToCode/writeTablesC++.py:86–92  ·  view source on GitHub ↗
(table, file)

Source from the content-addressed store, hash-verified

84 return s
85
86def writeBeginningToHeader(table, file):
87 file.write(f"class {table.name} : public NalRBSP\n")
88 file.write("{\n")
89 file.write(f"public:\n")
90 file.write(f" {table.name}() = default;\n")
91 file.write(f" ~{table.name}() = default;\n")
92 file.write(f" void parse(SubByteReaderLogging &reader{argumentsToString(table.arguments, 'int')});\n\n")
93
94def writeEndToHeader(file):
95 file.spaces = 0

Callers 1

writeTableToFilesFunction · 0.85

Calls 2

argumentsToStringFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected