The R Project SVN R

Rev

Rev 42333 | Rev 44631 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 42333 Rev 42963
Line 52... Line 52...
52
  another, it should extract and call the method from the other
52
  another, it should extract and call the method from the other
53
  definition of the other class by calling \code{\link{getValidity}}: it
53
  definition of the other class by calling \code{\link{getValidity}}: it
54
  should \emph{not} call \code{validObject}.
54
  should \emph{not} call \code{validObject}.
55
}
55
}
56
\details{
56
\details{
57
  Validity testing takes place \dQuote{bottom up}: Optionally, if
57
  Validity testing takes place \sQuote{bottom up}: Optionally, if
58
  \code{complete=TRUE}, the validity of the object's slots, if any, is
58
  \code{complete=TRUE}, the validity of the object's slots, if any, is
59
  tested.  Then, in all cases, for each of the classes that this class
59
  tested.  Then, in all cases, for each of the classes that this class
60
  extends (the \dQuote{superclasses}), the explicit validity method of
60
  extends (the \sQuote{superclasses}), the explicit validity method of
61
  that class is called, if one exists.  Finally, the validity method of
61
  that class is called, if one exists.  Finally, the validity method of
62
  \code{object}'s class is called, if there is one.
62
  \code{object}'s class is called, if there is one.
63
 
63
 
64
  Testing generally stops at the first stage of finding an error, except
64
  Testing generally stops at the first stage of finding an error, except
65
  that all the slots will be examined even if a slot has failed its
65
  that all the slots will be examined even if a slot has failed its