Files Classes Functions Hierarchy
#include <visoperator.h>
Public Member Functions | |
| virtual stringc | id () const =0 |
| Operator name. | |
| virtual void | handlecommand (bool &matches, viscmd &c)=0 |
| matches is set to true if this operator recognises the command. | |
Static Public Member Functions | |
| static void | set (visenv &ve_) |
| Initialize the environment setting. | |
| static void | set (vispointxml &vp_) |
| Initialize point management. | |
Static Public Attributes | |
| static visenv * | ve = 0 |
| Access the global state. | |
| static vispointxml * | vp = 0 |
| Access graphics of adding a point. | |
Processes commands.
Definition at line 18 of file visoperator.h.
matches is set to true if this operator recognises the command.
Implemented in visconvex, visline, visdictionary, vispoint2, vispoint3, and vispointxml.
| virtual stringc visoperator::id | ( | ) | const [pure virtual] |
Operator name.
Implemented in visconvex, visline, visdictionary, vispoint2, vispoint3, and vispointxml.
| void visoperator::set | ( | vispointxml & | vp_ | ) | [static] |
Initialize point management.
Definition at line 21 of file visoperator.cpp.
References vp.
00022 { 00023 vp = & vp_; 00024 }
| void visoperator::set | ( | visenv & | ve_ | ) | [static] |
Initialize the environment setting.
Definition at line 16 of file visoperator.cpp.
References ve.
Referenced by vispointxml::defaultsettings(), and visenv::defaultsettings().
00017 { 00018 ve = & ve_; 00019 }
visenv * visoperator::ve = 0 [static] |
Access the global state.
Definition at line 28 of file visoperator.h.
Referenced by vispointxml::defaultsettings(), vispointxml::handlecommand(), vispoint3::handlecommand(), vispoint2::handlecommand(), visline::handlecommand(), visconvex::handlecommand(), vispointxml::piaddpoint(), and set().
vispointxml * visoperator::vp = 0 [static] |
Access graphics of adding a point.
Definition at line 30 of file visoperator.h.
Referenced by vispointxml::handlecommand(), vispoint3::handlecommand(), vispoint2::handlecommand(), and set().
1.5.8