• Home
  • Raw
  • Download

Lines Matching refs:endl

25     text << indent << "// enum " << enu.name() << endl;  in write_enum()
30 << " = " << value.number() << ";" << endl; in write_enum()
36 text << indent << "const int _ENUM_" << name << "_COUNT = " << N << ";" << endl; in write_enum()
37 text << indent << "const char* _ENUM_" << name << "_NAMES[" << N << "] = {" << endl; in write_enum()
39 … text << indent << INDENT << "\"" << stripPrefix(enu.value(i).name(), prefix) << "\"," << endl; in write_enum()
41 text << indent << "};" << endl; in write_enum()
42 text << indent << "const int _ENUM_" << name << "_VALUES[" << N << "] = {" << endl; in write_enum()
44 text << indent << INDENT << make_constant_name(enu.value(i).name()) << "," << endl; in write_enum()
46 text << indent << "};" << endl; in write_enum()
49 text << endl; in write_enum()
63 << field.name() << " = " << field.number() << packed_comment << ';' << endl; in write_field()
71 text << "LL;" << endl; in write_field()
73 text << endl; in write_field()
82 text << indent << "// message " << message.name() << endl; in write_message()
83 text << indent << "namespace " << message.name() << " {" << endl; in write_message()
105 text << indented << "const int _FIELD_COUNT = " << N << ";" << endl; in write_message()
106 text << indented << "const char* _FIELD_NAMES[" << N << "] = {" << endl; in write_message()
108 text << indented << INDENT << "\"" << message.field(i).name() << "\"," << endl; in write_message()
110 text << indented << "};" << endl; in write_message()
111 text << indented << "const uint64_t _FIELD_IDS[" << N << "] = {" << endl; in write_message()
113 … text << indented << INDENT << make_constant_name(message.field(i).name()) << "," << endl; in write_message()
115 text << indented << "};" << endl << endl; in write_message()
118 text << indent << "} //" << message.name() << endl; in write_message()
119 text << endl; in write_message()
127 text << "// Generated by protoc-gen-cppstream. DO NOT MODIFY." << endl; in write_header_file()
128 text << "// source: " << file_descriptor.name() << endl << endl; in write_header_file()
134 text << "#ifndef " << header << endl; in write_header_file()
135 text << "#define " << header << endl; in write_header_file()
136 text << endl; in write_header_file()
140 text << "namespace " << *it << " {" << endl; in write_header_file()
142 text << endl; in write_header_file()
156 text << "} // " << *it << endl; in write_header_file()
159 text << endl; in write_header_file()
160 text << "#endif // " << header << endl; in write_header_file()