Changeset 2949

Show
Ignore:
Timestamp:
04/10/08 23:28:24 (7 months ago)
Author:
ksprotte
Message:

new function: consistent-p

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/bos/projects/bos/m2/m2.lisp

    r2947 r2949  
    553553  (format t "~&; Startup der Quadratmeterdatenbank done.~%") 
    554554  (force-output)) 
     555 
     556(defun consistent-p () 
     557  (let ((inconsistent-objs 
     558         (list 
     559          (remove-if #'sponsor-consistent-p (class-instances 'sponsor)) 
     560          (remove-if #'contract-consistent-p (class-instances 'contract)) 
     561          (remove-if #'allocation-area-consistent-p (class-instances 'allocation-area))))) 
     562    (values (every #'null inconsistent-objs) 
     563            inconsistent-objs))) 
    555564 
    556565;; testing