#include <gre/viewscript.h>

Classes | |
| class | CONTEXT |
Public Types | |
| enum | BUTTONTYPE { BUTTONTYPE_Simple = 0, BUTTONTYPE_Menu = 1 } |
Public Member Functions | |
| MACROSCRIPT (const MACROSCRIPT &rhs) | |
| MACROSCRIPT () | |
| virtual | ~MACROSCRIPT () |
| BUTTONTYPE | GetButtonType () const |
| const MISTRINGLIST & | GetMenuChoiceList () const |
| virtual void | IniWrite (const char *IniGroup, const char *IniBaseName) const |
| virtual int | Load (const char *IniGroup=0, const char *IniBaseName=0) |
| MACROSCRIPT & | operator= (const MACROSCRIPT &rhs) |
| virtual ERRVALUE | SerialRead (SERIALIZER &serializer) |
| virtual ERRVALUE | SerialWrite (SERIALIZER &serializer, const char *tagname=0) const |
| void | SetButtonType (BUTTONTYPE ButtonType) |
| void | SetMenuChoices (const MISTRING &string) |
| GRE::MACROSCRIPT::MACROSCRIPT | ( | ) | [inline] |
Default constructor.
| GRE::MACROSCRIPT::MACROSCRIPT | ( | const MACROSCRIPT & | rhs | ) |
Copy constructor.
| virtual GRE::MACROSCRIPT::~MACROSCRIPT | ( | ) | [virtual] |
Destructor.
| BUTTONTYPE GRE::MACROSCRIPT::GetButtonType | ( | ) | const [inline] |
| const MISTRINGLIST& GRE::MACROSCRIPT::GetMenuChoiceList | ( | ) | const [inline] |
| virtual void GRE::MACROSCRIPT::IniWrite | ( | const char * | IniGroup, | |
| const char * | IniBaseName | |||
| ) | const [virtual] |
Reimplemented from GRE::VIEWSCRIPT.
| virtual int GRE::MACROSCRIPT::Load | ( | const char * | IniGroup = 0, |
|
| const char * | IniBaseName = 0 | |||
| ) | [virtual] |
Reimplemented from GRE::VIEWSCRIPT.
| MACROSCRIPT& GRE::MACROSCRIPT::operator= | ( | const MACROSCRIPT & | rhs | ) |
Assignment.
Reimplemented from GRE::VIEWSCRIPT.
| virtual ERRVALUE GRE::MACROSCRIPT::SerialRead | ( | SERIALIZER & | serializer | ) | [virtual] |
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.
| virtual ERRVALUE GRE::MACROSCRIPT::SerialWrite | ( | SERIALIZER & | serializer, | |
| const char * | tagname = 0 | |||
| ) | const [virtual] |
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.
| void GRE::MACROSCRIPT::SetButtonType | ( | BUTTONTYPE | ButtonType | ) | [inline] |
| void GRE::MACROSCRIPT::SetMenuChoices | ( | const MISTRING & | string | ) |
1.6.1