Lines Matching refs:add_text
22 def add_text(self, text): member in AmalgamationFile
29 self.add_text("")
30 self.add_text("// " + "/"*70)
31 … self.add_text("// %s of content of file: %s" % (prefix, relative_input_path.replace("\\","/")))
32 self.add_text("// " + "/"*70)
33 self.add_text("")
39 self.add_text(content)
42 self.add_text("\n\n\n\n")
66 header.add_text("/// Json-cpp amalgamated header (http://jsoncpp.sourceforge.net/).")
67 header.add_text('/// It is intended to be used with #include "%s"' % header_include_path)
69 header.add_text("#ifndef JSON_AMALGAMATED_H_INCLUDED")
70 header.add_text("# define JSON_AMALGAMATED_H_INCLUDED")
71 header.add_text("/// If defined, indicates that the source file is amalgamated")
72 header.add_text("/// to prevent private header inclusion.")
73 header.add_text("#define JSON_IS_AMALGAMATION")
83 header.add_text("#endif //ifndef JSON_AMALGAMATED_H_INCLUDED")
93 header.add_text("/// Json-cpp amalgamated forward header (http://jsoncpp.sourceforge.net/).")
94 … header.add_text('/// It is intended to be used with #include "%s"' % forward_header_include_path)
95 header.add_text("/// This header provides forward declaration for all JsonCpp types.")
97 header.add_text("#ifndef JSON_FORWARD_AMALGAMATED_H_INCLUDED")
98 header.add_text("# define JSON_FORWARD_AMALGAMATED_H_INCLUDED")
99 header.add_text("/// If defined, indicates that the source file is amalgamated")
100 header.add_text("/// to prevent private header inclusion.")
101 header.add_text("#define JSON_IS_AMALGAMATION")
106 header.add_text("#endif //ifndef JSON_FORWARD_AMALGAMATED_H_INCLUDED")
115 source.add_text("/// Json-cpp amalgamated source (http://jsoncpp.sourceforge.net/).")
116 source.add_text('/// It is intended to be used with #include "%s"' % header_include_path)
118 source.add_text("")
119 source.add_text('#include "%s"' % header_include_path)
120 source.add_text("""
125 source.add_text("")