CXXR (C++ R)
Public Member Functions
CXXR::Environment::LoopScope Class Reference

Object authorising R 'break' and 'next' commands. More...

#include <Environment.h>

List of all members.

Public Member Functions

 LoopScope (Environment *env)
 Constructor.

Detailed Description

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().


Constructor & Destructor Documentation

CXXR::Environment::LoopScope::LoopScope ( Environment env)
inline

Constructor.

Parameters:
envPointer to the Environment with which this LoopScope is to be associated.

The documentation for this class was generated from the following file: