RspIfDirective

0th

Percentile

The RspIfDirective class

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.

Keywords
classes, internal
Usage
RspIfDirective(value="if", ...)
Arguments
value
A character string.
...
Arguments passed to the constructor of RspDirective.
Fields and Methods

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, downloadFile, formula, getDLLRegisteredRoutines, isOpen, toAsciiRegExprPattern, toFileListTree, toLatex, uses

Aliases
  • RspIfDirective
  • RspElseDirective
  • RspEndifDirective
  • RspIfdefDirective
  • RspIfndefDirective
  • RspIfeqDirective
  • RspIfneqDirective
Documentation reproduced from package R.rsp, version 0.30.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.