GRE::TOOLSCRIPT Class Reference

#include <gre/viewscript.h>

Inheritance diagram for GRE::TOOLSCRIPT:
Inheritance graph
[legend]

List of all members.

Classes

class  CONTEXT
 Context for editing or running ToolScript. More...

Public Member Functions

 TOOLSCRIPT (const TOOLSCRIPT &rhs)
 TOOLSCRIPT ()
virtual ~TOOLSCRIPT ()
TOOLSCRIPToperator= (const TOOLSCRIPT &rhs)
virtual ERRVALUE SerialRead (SERIALIZER &serializer)
virtual ERRVALUE SerialWrite (SERIALIZER &serializer, const char *tagname=0) const

Constructor & Destructor Documentation

GRE::TOOLSCRIPT::TOOLSCRIPT (  )  [inline]
GRE::TOOLSCRIPT::TOOLSCRIPT ( const TOOLSCRIPT rhs  )  [inline]
virtual GRE::TOOLSCRIPT::~TOOLSCRIPT (  )  [inline, virtual]

Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:34:52 2012 for TNTsdk 2012 by  doxygen 1.6.1