Package: R.rsp Class RspIfDirective
character
~~|
~~+--
RspObject
~~~~~~~|
~~~~~~~+--
RspConstruct
~~~~~~~~~~~~|
~~~~~~~~~~~~+--
RspDirective
~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~+--
RspIfDirective
Directly known subclasses: RspIfeqDirective, RspIfneqDirective
public class RspIfDirective extends RspDirective
An RspIfDirective is an RspDirective
that will include or
exclude all RspConstruct
:s until the next RspEndifDirective
based on the preprocessing value of the particular if clause.
Inclusion/exclusion can be reversed via an RspElseDirective
.
RspIfDirective(value="if", ...)
A character
string.
Arguments passed to the constructor of RspDirective
.
Methods: No methods defined.
Methods inherited from RspDirective: asRspString, getNameContentDefaultAttributes, requireAttributes
Methods inherited from RspConstruct: asRspString, getComment, getInclude, getSuffixSpecs
Methods inherited from RspObject: print
Methods inherited from character: all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, formula, getDLLRegisteredRoutines, isOpen, toLatex, uses