Lines Matching refs:add_text
17 def add_text( self, text ): member in AmalgamationFile
24 self.add_text( '' )
25 self.add_text( '// ' + '/'*70 )
26 … self.add_text( '// %s of content of file: %s' % (prefix, relative_input_path.replace('\\','/')) )
27 self.add_text( '// ' + '/'*70 )
28 self.add_text( '' )
34 self.add_text( content )
37 self.add_text( '\n\n\n\n' )
61 header.add_text( '/// Json-cpp amalgated header (http://jsoncpp.sourceforge.net/).' )
62 header.add_text( '/// It is intented to be used with #include <%s>' % header_include_path )
64 header.add_text( '#ifndef JSON_AMALGATED_H_INCLUDED' )
65 header.add_text( '# define JSON_AMALGATED_H_INCLUDED' )
66 header.add_text( '/// If defined, indicates that the source file is amalgated' )
67 header.add_text( '/// to prevent private header inclusion.' )
68 header.add_text( '#define JSON_IS_AMALGAMATION' )
75 header.add_text( '#endif //ifndef JSON_AMALGATED_H_INCLUDED' )
85 header.add_text( '/// Json-cpp amalgated forward header (http://jsoncpp.sourceforge.net/).' )
86 …header.add_text( '/// It is intented to be used with #include <%s>' % forward_header_include_path )
87 header.add_text( '/// This header provides forward declaration for all JsonCpp types.' )
89 header.add_text( '#ifndef JSON_FORWARD_AMALGATED_H_INCLUDED' )
90 header.add_text( '# define JSON_FORWARD_AMALGATED_H_INCLUDED' )
91 header.add_text( '/// If defined, indicates that the source file is amalgated' )
92 header.add_text( '/// to prevent private header inclusion.' )
93 header.add_text( '#define JSON_IS_AMALGAMATION' )
96 header.add_text( '#endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED' )
105 source.add_text( '/// Json-cpp amalgated source (http://jsoncpp.sourceforge.net/).' )
106 source.add_text( '/// It is intented to be used with #include <%s>' % header_include_path )
108 source.add_text( '' )
109 source.add_text( '#include <%s>' % header_include_path )
110 source.add_text( '' )