public static void cppOutputDerivedClasses(Cons classlist) {
    if (classlist.value != null) {
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(((StringWrapper)(classlist.value)).wrapperValue);
    }
    { Stella_Object renamed_Class = null;
      Cons iter000 = classlist.rest;

      for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
        renamed_Class = iter000.value;
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(", public ");
        if (((Keyword)(Stella.$TRANSLATOROUTPUTLANGUAGE$.get())) == Stella.KWD_CPP_STANDALONE) {
          ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("virtual ");
        }
        else {
        }
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(((StringWrapper)(renamed_Class)).wrapperValue);
      }
    }
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(" ");
  }