def METHOD_NAME(self, name, properties):
    if self.is_block('', name):
        return
    code = (
        'void EncodeStruct(ParameterEncoder* encoder, const {}& value)'.
        format(name)
    )
    code += self.get_encode_struct_body(properties)
    write(code, file=self.outFile)
    self.newline()