CXXR (C++ R)
|
Object authorising R 'break' and 'next' commands. More...
#include <Environment.h>
Public Member Functions | |
LoopScope (Environment *env) | |
Constructor. |
Object authorising R 'break' and 'next' commands.
LoopScope objects must be declared on the processor stack (i.e. as C++ automatic variables). Each Environment object keeps track of the number of LoopScope objects associated with it. The R commands 'break' and 'next' are legal only when the evaluation Environment has at least one LoopScope in existence; this can be determined by calling Environment::loopActive().
|
inline |
Constructor.
env | Pointer to the Environment with which this LoopScope is to be associated. |