Go to the documentation of this file.
50 string comments =
location.leading_comments.empty() ?
52 if (comments.empty()) {
59 std::vector<string> lines;
63 printer->
Print(
"/// <summary>\n");
64 bool last_was_empty =
false;
69 for (std::vector<string>::iterator
it = lines.begin();
it != lines.end(); ++
it) {
72 last_was_empty =
true;
75 printer->
Print(
"///\n");
77 last_was_empty =
false;
78 printer->
Print(
"///$line$\n",
"line", *
it);
81 printer->
Print(
"/// </summary>\n");
84 template <
typename DescriptorType>
void Print(const std::map< std::string, std::string > &variables, const char *text)
void WriteEnumDocComment(io::Printer *printer, const EnumDescriptor *enumDescriptor)
void WriteDocCommentBodyImpl(io::Printer *printer, SourceLocation location)
const FieldDescriptor * field
void WriteMessageDocComment(io::Printer *printer, const Descriptor *message)
void WriteEnumValueDocComment(io::Printer *printer, const EnumValueDescriptor *value)
void StringReplace(const string &s, const string &oldsub, const string &newsub, bool replace_all, string *res)
void WritePropertyDocComment(io::Printer *printer, const FieldDescriptor *field)
static void WriteDocCommentBody(io::Printer *printer, const DescriptorType *descriptor)
GLsizei const GLfloat * value
void WriteMethodDocComment(io::Printer *printer, const MethodDescriptor *method)
GLenum GLuint GLenum GLsizei const GLchar * message
void SplitStringAllowEmpty(const string &full, const char *delim, std::vector< string > *result)
const Descriptor::ReservedRange const EnumValueDescriptor method
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:49