getKnownSubclasses.Class: Gets all subclasses that are currently loaded

getKnownSubclasses.ClassR Documentation

Gets all subclasses that are currently loaded

Description

Gets all subclasses that are currently loaded.

Usage

## S3 method for class 'Class'
getKnownSubclasses(this, sort=TRUE, ...)

Arguments

...

Not used.

Value

Returns a vector of character strings.

Author(s)

Henrik Bengtsson

See Also

*getSuperclasses(). For more information see Class.

Examples

  ## Not run: 
  # Due to a bug in R CMD check (R v1.7.1) the MicroarrayData$read() call
  # below will call getKnownSubclasses(), which will generate
  #   "Error in exists(objectName, mode = "function") :
  #	   [2003-07-07 23:32:41] Exception: F used instead of FALSE"
  # Note that the example still work, just not in R CMD check

  print(getKnownSubclasses(Exception))
  
## End(Not run)
  ## Not run: 
  returns
  [1] "Exception" "try-error" "Object"
  
## End(Not run)

R.oo documentation built on Nov. 2, 2024, 1:07 a.m.