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

Statement with a single boolean parameter. More...

#include <Statement.h>

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

List of all members.

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.

Detailed Description

Statement with a single boolean parameter.


Constructor & Destructor Documentation

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

References _bool.


Member Function Documentation

bool Script::BoolStatement::getValue ( ) [inline, protected]

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