You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: enum_cpp.go
    path of file: ./repos/qt/internal/binding/templater
    
    the code of the file until where you have to start completion: package templater

import (
	"fmt"
	"strings"

	"github.com/therecipe/qt/internal/binding/parser"
)

func cppEnum(e *parser.Enum, v *parser.Value) string {
	o := fmt.Sprintf("%v\n{\n\t%v\n}", cppEnumHeader(e, v), cppEnumBody(e, v))
	if UseJs() {
		o = "EMSCRIPTEN_KEEPALIVE\n" + o
	}
	return o
}

func cppEnumHeader(enum *parser.Enum, value *parser.Value) string {
	return fmt.Sprintf("int %v_%v_Type()", enum.ClassName(), value.Name)
}

func cppEnumBody(enum *parser.Enum, value *parse
    
func cppEnumBody(enum *parser.Enum, value *parser.Value) string {
	//TODO: check for "since" tag in enums

	//needed for sailfish with 5.6 docs
	if strings.HasPrefix(value.Name, "MV_") || strings.HasPrefix(value.Name, "PM_") ||
		strings.HasPrefix(value.Name, "SH_") || strings.HasPrefix(value.Name, "ISODate") ||
		strings.HasPrefix(value.Name, "TlsV1_") {
		return fmt.Sprintf(`#if QT_VERSION >= 0x056000
		return %v::%v;
	#else
		return 0;
	#endif`, enum.ClassName(), value.Name)
	}

	//needed for msys2 with 5.7 docs
	if strings.HasPrefix(value.Name, "PE_") || strings.HasPrefix(value.Name, "SE_") {
		return fmt.Sprintf(`#if QT_VERSION >= 0x057000
		return %v::%v;
	#else
		return 0;
	#endif`, enum.ClassName(), value.Name)
	}

	return fmt.Sprintf("return %v::%v;", enum.ClassName(), value.Name)
}