有一个类Class 定义了两个接口 一个取继承类 一个去取类名
(fChildClasses是子类,fClassName是类名)Class.prototype.EnumerateSubClasses = function(callback, deepInheritance, scope, context) {
for (var it = 0; it < this.fChildClasses.length; ++it) {
if (!callback.call(scope || window, this.fChildClasses[it]))
  return;
if (deepInheritance)
  this.fChildClasses[it].EnumerateSubClasses(callback, deepInheritance, scope);
 }
}Class.prototype.GetName = function(context) {
   return this.fClassName;
}现在我定义一个类,名为a,如何才能将a的继承类名称全部拿出呢:用a.EnumerateSubClasses(GetName,ture); 显示GetName没有定义那应该如何调用呢(一定要用接口调用)?