public void cppOutputLiteral() {
    { CharacterWrapper character = this;

      { char ch = character.wrapperValue;

        switch (ch) {
          case '\'': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\''");
          break;
          case '\\': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\\\'");
          break;
          case '\n': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\n'");
          break;
          case '\b': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\b'");
          break;
          case '\t': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\t'");
          break;
          case '\r': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\r'");
          break;
          case '\f': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\f'");
          break;
          case '': 
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\0'");
          break;
          default:
            if (ch == Stella.NULL_CHARACTER) {
              ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'\\0'");
            }
            else {
              ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("'" + ch + "'");
            }
          break;
        }
      }
    }
  }