R.rsp (version 0.46.0)

RspIfDirective: The RspIfDirective class

Description

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.

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:
Ops,nonStructure,vector-method, Ops,structure,vector-method, Ops,vector,nonStructure-method, Ops,vector,structure-method, all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, coerce,ANY,character-method, coerce,character,SuperClassMethod-method, coerce,character,signature-method, coerce<-,ObjectsWithPackage,character-method, coerce<-,signature,character-method, formula, getDLLRegisteredRoutines, glyphJust, isOpen, toLatex, uses

Author

Henrik Bengtsson