def METHOD_NAME(self):
    for enum in sorted(self.enum_names):
        if not enum in self.processedEnums:
            self.processedEnums.add(enum)
            if not enum in self.enumAliases:
                if self.is_flags_enum_64bit(enum):
                    body = 'std::string {0}ToString(const {0} value);'
                    body += '\nstd::string {1}ToString(VkFlags64 vkFlags);'
                else:
                    body = 'template <> std::string ToString<{0}>(const {0}& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize);'
                    if 'Bits' in enum:
                        body += '\ntemplate <> std::string ToString<{0}>(VkFlags vkFlags, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize);'
                write(body.format(enum, BitsEnumToFlagsTypedef(enum)),
                      file=self.outFile)