HyperspaceExplorer 0.7.1
Public Member Functions
Script::ObjectStmt Class Reference

"object <object_name>" More...

#include <Statement.h>

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

List of all members.

Public Member Functions

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

Detailed Description

"object <object_name>"

sets the object to be displayed to the supplied type


Constructor & Destructor Documentation

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

Member Function Documentation

bool Script::ObjectStmt::execute ( ) [virtual]

Executes the statement in the current context.

Todo:
make a map (or something like that) to call the right function for the string supplied as argument

Reimplemented from Script::Statement.

References Script::Statement::arg(), Script::Parser::getView(), Loki::SingletonHolder< T, CreationPolicy >::Instance(), Script::Statement::parser(), and UI::View::setF().

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