X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnRstatus.ml;h=9a6fd4ef29ec4870b37e58fb8e117c2c627e84a4;hb=0581f3c8dc2098b82cd31a0fbed224a95652bd88;hp=68fdf4f50f07663efdee6d131280f50f323f2416;hpb=09026b73c51e7e91948b34fddb4f0cc0b377113e;p=helm.git diff --git a/helm/software/components/ng_refiner/nRstatus.ml b/helm/software/components/ng_refiner/nRstatus.ml index 68fdf4f50..9a6fd4ef2 100644 --- a/helm/software/components/ng_refiner/nRstatus.ml +++ b/helm/software/components/ng_refiner/nRstatus.ml @@ -11,46 +11,7 @@ (* $Id: nCicRefiner.ml 9802 2009-05-25 15:39:26Z tassi $ *) -class type g_status = - object - inherit NCicCoercion.g_status - inherit NCicLibrary.g_status - end +class type g_status = NCicCoercion.status -class status = - object (self) - inherit NCicCoercion.status - inherit NCicLibrary.status - method set_rstatus : 'status. #g_status as 'status -> 'self - = fun o -> (self#set_coercion_status o)#set_library_status o - end +class status = NCicCoercion.status -type sstatus = status - -module Serializer = - struct - include NCicLibrary.Serializer(struct type status = sstatus end) - - let require ~baseuri status = - let rstatus = require ~baseuri (status : #status :> status) in - let status = status#set_coerc_db (rstatus#coerc_db) in - let status = status#set_uhint_db (rstatus#uhint_db) in - let status = status#set_timestamp (rstatus#timestamp) in - status - end - -class type g_dumpable_status = - object - inherit g_status - method dump: Serializer.obj list - end - -class dumpable_status = - object(self) - inherit status - val dump = ([] : Serializer.obj list) - method dump = dump - method set_dump v = {< dump = v >} - method set_dumpable_status : 'status. #g_dumpable_status as 'status -> 'self - = fun o -> (self#set_dump o#dump)#set_rstatus o - end