compiler/cpp/src/generate/t_hs_generator.cc
/**
 * Serializes all the members of a struct.
 *
 * @param tstruct The struct to serialize
 * @param prefix  String prefix to attach to all fields
 */
Serializes all the members of a struct.
@param tstruct The struct to serialize
@param prefix  String prefix to attach to all fields
Serializes all the members of a struct . @param tstruct The struct to serialize @param prefix String prefix to attach to all fields
void t_hs_generator::generate_serialize_struct(ofstream &out,
                                               t_struct* tstruct,
                                               string prefix) {
  out << type_name(tstruct, "write_") << " oprot " << prefix;
}
void t_hs_generator :: generate_serialize_struct ( ofstream & out , t_struct * tstruct , string prefix ) { out << type_name ( tstruct , " " ) << " " << prefix ; }
Serializes all the members of a struct.
Serializes all the members of a struct .