#include <gre/viewscript.h>

Classes | |
| class | CONTEXT |
| Context for editing or running ToolScript. More... | |
Public Member Functions | |
| TOOLSCRIPT (const TOOLSCRIPT &rhs) | |
| TOOLSCRIPT () | |
| virtual | ~TOOLSCRIPT () |
| TOOLSCRIPT & | operator= (const TOOLSCRIPT &rhs) |
| virtual ERRVALUE | SerialRead (SERIALIZER &serializer) |
| virtual ERRVALUE | SerialWrite (SERIALIZER &serializer, const char *tagname=0) const |
| GRE::TOOLSCRIPT::TOOLSCRIPT | ( | ) | [inline] |
| GRE::TOOLSCRIPT::TOOLSCRIPT | ( | const TOOLSCRIPT & | rhs | ) | [inline] |
| virtual GRE::TOOLSCRIPT::~TOOLSCRIPT | ( | ) | [inline, virtual] |
| TOOLSCRIPT& GRE::TOOLSCRIPT::operator= | ( | const TOOLSCRIPT & | rhs | ) | [inline] |
Assignment operator.
Reimplemented from GRE::VIEWSCRIPT.
| virtual ERRVALUE GRE::TOOLSCRIPT::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::TOOLSCRIPT::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.
1.6.1