compiler/cpp/src/generate/t_html_generator.cc
/**
 * Generates a typedef.
 *
 * @param ttypedef The type definition
 */
Generates a typedef.
@param ttypedef The type definition
Generates a typedef . @param ttypedef The type definition
void t_html_generator::generate_typedef(t_typedef* ttypedef) {
  string name = ttypedef->get_name();
  f_out_ << "<div class=\"definition\">";
  f_out_ << "<h3 id=\"Typedef_" << name << "\">Typedef: " << name
   << "</h3>" << endl;
  f_out_ << "<p><strong>Base type:</strong>&nbsp;";
  print_type(ttypedef->get_type());
  f_out_ << "</p>" << endl;
  print_doc(ttypedef);
  f_out_ << "</div>" << endl;
}
void t_html_generator :: generate_typedef ( t_typedef * ttypedef ) { string name = ttypedef -> get_name ( ) ; f_out_ << " \" \" " ; f_out_ << " \" " << name << " \" " << name << " " << endl ; f_out_ << " " ; print_type ( ttypedef -> get_type ( ) ) ; f_out_ << " " << endl ; print_doc ( ttypedef ) ; f_out_ << " " << endl ; }
Generates a typedef.
Generates a typedef .