HyperspaceExplorer 0.7.1
Public Member Functions | Private Attributes
Script::LoopStmt Class Reference

"loop <num_loops>" More...

#include <Statement.h>

Inheritance diagram for Script::LoopStmt:
Inheritance graph
[legend]
Collaboration diagram for Script::LoopStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LoopStmt (const Parser *p, const std::string &_arg)
virtual bool execute ()
 Executes the statement in the current context.

Private Attributes

unsigned _loops
 Number of times to loop.

Detailed Description

"loop <num_loops>"

set the number of loops, ie. repetitions of num_frames frames


Constructor & Destructor Documentation

Script::LoopStmt::LoopStmt ( const Parser p,
const std::string _arg 
)
Parameters:
pThe context in which the Statement is executed
_argThe argument supplied to the Statement

References _loops, Script::Statement::arg(), Util::atou(), and Script::trailing().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends

Generated on Mon Apr 9 2012 20:25:19 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo