\HeaderA{subClassNames}{Functions to return the names of either subclasses or superclasses.}{subClassNames}
\aliasA{superClassNames}{subClassNames}{superClassNames}
\keyword{manip}{subClassNames}
\begin{Description}\relax
Given the name of a S4 class, or a S4 classRepresentation object, these
functions return either the names of the direct subclasses or of the
direct superclasses.
\end{Description}
\begin{Usage}
\begin{verbatim}
subClassNames(x)
superClassNames(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] Either the name of a class, or an instance of 
classRepresentation. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If a name is given then \code{getClass} is used to get the 
class representation object.
\end{Details}
\begin{Value}
A character vector, listing either the direct subclasses or the 
direct superclasses, depending on which function was called.
\end{Value}
\begin{Author}\relax
R. Gentleman
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{getClass}{getClass}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 subClassNames("matrix")
 superClassNames("matrix")
\end{ExampleCode}
\end{Examples}

