]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/metadataTypes.ml
checked in new version of matita from svn
[helm.git] / helm / ocaml / metadata / metadataTypes.ml
index 5542825893d65369c9099bb36579d51abdb98d31..948d086788b7a2f9947d3ab084ef56575d153086 100644 (file)
@@ -68,7 +68,8 @@ let sort_tbl_original = "refSort"
 let rel_tbl_original = "refRel"
 let obj_tbl_original = "refObj"
 let conclno_tbl_original = "no_inconcl_aux"
-let conclno_hyp_tbl_original = "no_concl_hyp"
+let fullno_tbl_original = "no_concl_hyp"
+let hypno_tbl_original = "no_hyp"
 let name_tbl_original = "objectName"
 
   (** the names currently used *)
@@ -76,7 +77,8 @@ let sort_tbl_real = ref sort_tbl_original
 let rel_tbl_real = ref rel_tbl_original
 let obj_tbl_real = ref obj_tbl_original
 let conclno_tbl_real = ref conclno_tbl_original
-let conclno_hyp_tbl_real = ref conclno_hyp_tbl_original
+let fullno_tbl_real = ref fullno_tbl_original
+let hypno_tbl_real = ref hypno_tbl_original
 let name_tbl_real = ref name_tbl_original 
 
   (** the exported symbols *)
@@ -84,7 +86,8 @@ let sort_tbl () = ! sort_tbl_real ;;
 let rel_tbl () = ! rel_tbl_real ;; 
 let obj_tbl () = ! obj_tbl_real ;; 
 let conclno_tbl () = ! conclno_tbl_real ;; 
-let conclno_hyp_tbl () = ! conclno_hyp_tbl_real ;; 
+let fullno_tbl () = ! fullno_tbl_real ;; 
+let hypno_tbl () = ! hypno_tbl_real ;; 
 let name_tbl () = ! name_tbl_real ;; 
 
   (** to use the owned tables *)
@@ -93,8 +96,19 @@ let ownerize_tables owner =
   rel_tbl_real := ( rel_tbl_original ^ "_" ^ owner) ;
   obj_tbl_real := ( obj_tbl_original ^ "_" ^ owner) ;
   conclno_tbl_real := ( conclno_tbl_original ^ "_" ^ owner) ;
-  conclno_hyp_tbl_real := ( conclno_hyp_tbl_original ^ "_" ^ owner) ;
+  fullno_tbl_real := ( fullno_tbl_original ^ "_" ^ owner) ;
+  hypno_tbl_real := ( hypno_tbl_original ^ "_" ^ owner) ;
   name_tbl_real := ( name_tbl_original ^ "_" ^ owner) 
 ;;
 
+let library_sort_tbl =   sort_tbl_original
+let library_rel_tbl = rel_tbl_original
+let library_obj_tbl = obj_tbl_original
+let library_conclno_tbl = conclno_tbl_original
+let library_fullno_tbl =  fullno_tbl_original
+let library_hypno_tbl =  hypno_tbl_original
+let library_name_tbl = name_tbl_original
 
+let are_tables_ownerized () =
+  sort_tbl () <> library_sort_tbl
+