HyperspaceExplorer 0.7.1
|
Statement with a single boolean parameter. More...
#include <Statement.h>
Public Member Functions | |
BoolStatement (const Parser *p, const std::string &_arg) | |
virtual bool | execute ()=0 |
Executes the statement in the current context. | |
Protected Member Functions | |
bool | getValue () |
Private Attributes | |
bool | _bool |
The current state. |
Statement with a single boolean parameter.
Script::BoolStatement::BoolStatement | ( | const Parser * | p, |
const std::string & | _arg | ||
) |
bool Script::BoolStatement::getValue | ( | ) | [inline, protected] |
References _bool.
Referenced by Script::Fog4DStmt::execute(), Script::FogStmt::execute(), Script::SolidStmt::execute(), Script::WireStmt::execute(), Script::TransStmt::execute(), Script::LightStmt::execute(), Script::ShadingStmt::execute(), and Script::ColorStmt::execute().