1996-04-22 04:15:41 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1996-04-22 04:15:41 -07:00
|
|
|
(* *)
|
|
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
2001-12-07 05:41:02 -08:00
|
|
|
(* under the terms of the GNU Library General Public License, with *)
|
|
|
|
(* the special exception on linking described in file ../LICENSE. *)
|
1996-04-22 04:15:41 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
2002-04-24 02:49:06 -07:00
|
|
|
(** Operations on objects *)
|
1996-04-22 04:15:41 -07:00
|
|
|
|
2001-12-03 14:16:03 -08:00
|
|
|
val copy : (< .. > as 'a) -> 'a
|
2001-10-26 15:38:48 -07:00
|
|
|
(** [Oo.copy o] returns a copy of object [o], that is a fresh
|
|
|
|
object with the same methods and instance variables as [o] *)
|
2002-06-10 19:51:01 -07:00
|
|
|
|
2002-06-13 23:59:20 -07:00
|
|
|
external id : < .. > -> int = "%field1"
|
2002-06-12 00:55:55 -07:00
|
|
|
(** Return an integer identifying this object, unique for
|
|
|
|
the current execution of the program. *)
|
2002-06-20 08:44:29 -07:00
|
|
|
|
|
|
|
(**/**)
|
|
|
|
(** For internal use (CamlIDL) *)
|
2004-05-26 04:10:52 -07:00
|
|
|
val new_method : string -> CamlinternalOO.tag
|
|
|
|
val public_method_label : string -> CamlinternalOO.tag
|