MCPcopy Create free account
hub / github.com/apache/fory / get_header_name

Method get_header_name

compiler/fory_compiler/generators/cpp.py:96–100  ·  view source on GitHub ↗

Get the header file name.

(self)

Source from the content-addressed store, hash-verified

94 return files
95
96 def get_header_name(self) -> str:
97 """Get the header file name."""
98 if self.package:
99 return self.package.replace(".", "_")
100 return "generated"
101
102 def get_namespace(self) -> str:
103 """Get the C++ namespace."""

Callers 1

generate_headerMethod · 0.95

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected