#include <gre/viewable.h>
Inheritance diagram for GRE_VIEWABLE::MAINSCRIPT:

Public Types | |
| enum | FUNC { FUNC_OnViewDataTipShowRequest, FUNC_OnViewDataTipShowText, FUNC_OnGroupDrawLabelsBegin, FUNC_OnGroupDrawLabelsEnd, FUNC_OnLayerDrawLabelsBegin, FUNC_OnLayerDrawLabelsEnd, FUNC_OnDrawLabel, FUNC_COUNT } |
Public Member Functions | |
| int | CallFunction (FUNC func, SMLARG *ArgIn, int NumArg, SMLARG *ArgRet=0) |
| int | DlgEdit (MDLGPARENT dlgparent) |
| bool | HasFunction (FUNC func) const |
| bool | HasScript () const |
| ERRVALUE | Initialize () |
| MAINSCRIPT (GRE_VIEWABLE *viewable) | |
| void | Terminate () |
| virtual | ~MAINSCRIPT () |
Private Member Functions | |
| ERRVALUE | CreateSMLContext (SMLCONTEXT *&smlcontext) |
| virtual ERRVALUE | SerialRead (SERIALIZER &serializer) |
| virtual ERRVALUE | SerialWrite (SERIALIZER &serializer, const char *tagname=0) const |
Static Private Member Functions | |
| void | GRECB_CtrlScript (const GRE_CALLBACK_MSG *pMsg, void *vpCtrlScript) |
| const SERIALIZER::ITEMDEF * | SerialGetItemDef () |
Private Attributes | |
| CONTEXT * | m_pContext |
| MISTRING | m_String |
| GRE_VIEWABLE * | m_viewable |
|
|
Externally callable functions.
Definition at line 130 of file viewable.h. |
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Read component from serialization. This method must be called only after the tag name has been read and is responsible for determining how to deserialize the component elements. When beginning a deserialization, usually the SERIALIZER::Read(tagname,object) method should be used to match the desired tag name which was used in writing. A default implementation is not possible due to multiple inheritance resulting in a different "this" pointer being passed than the actual object, which causes the offset values in the ITEMDEF arrays to be wrong. Implements SERIALIZABLE. |
|
||||||||||||
|
Write object to serialization. This method must write the tag name provided, using SERIALIZER::PutBegin(). If the tagname is 0 (default) then it must determine the proper tag name to write. After writing the object this method must write the ending tag using SERIALIZER::PutEnd(). When inheriting this interface, the default value of 0 for the tag name must NOT be redefined. (See Meyers, Effective C++, item #38) A default implementation is not possible due to multiple inheritance resulting in a different "this" pointer being passed than the actual object, which causes the offset values in the ITEMDEF arrays to be wrong. Implements SERIALIZABLE. |
|
|
|
|
|
Definition at line 157 of file viewable.h. |
|
|
Definition at line 158 of file viewable.h. |
|
|
Definition at line 156 of file viewable.h. |
1.3.8-20040913