GRE::MACROSCRIPT Class Reference

#include <gre/viewscript.h>

Inheritance diagram for GRE::MACROSCRIPT:

Inheritance graph
[legend]
List of all members.

Public Types

enum  BUTTONTYPE { BUTTONTYPE_Simple = 0, BUTTONTYPE_Menu = 1 }

Public Member Functions

BUTTONTYPE GetButtonType () const
const MISTRINGLISTGetMenuChoiceList () const
virtual void IniWrite (const char *IniGroup, const char *IniBaseName) const
virtual int Load (const char *IniGroup=0, const char *IniBaseName=0)
 MACROSCRIPT (const MACROSCRIPT &rhs)
 MACROSCRIPT ()
MACROSCRIPToperator= (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)
virtual ~MACROSCRIPT ()

Member Enumeration Documentation

enum GRE::MACROSCRIPT::BUTTONTYPE
 

Enumeration values:
BUTTONTYPE_Simple 
BUTTONTYPE_Menu 

Definition at line 245 of file viewscript.h.


Constructor & Destructor Documentation

GRE::MACROSCRIPT::MACROSCRIPT  )  [inline]
 

Default constructor.

Definition at line 253 of file viewscript.h.

GRE::MACROSCRIPT::MACROSCRIPT const MACROSCRIPT rhs  ) 
 

Copy constructor.

virtual GRE::MACROSCRIPT::~MACROSCRIPT  )  [virtual]
 

Destructor.


Member Function Documentation

BUTTONTYPE GRE::MACROSCRIPT::GetButtonType  )  const [inline]
 

Definition at line 270 of file viewscript.h.

const MISTRINGLIST& GRE::MACROSCRIPT::GetMenuChoiceList  )  const [inline]
 

Definition at line 273 of file viewscript.h.

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.

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]
 

Definition at line 295 of file viewscript.h.

void GRE::MACROSCRIPT::SetMenuChoices const MISTRING string  ) 
 


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:32 2004 for TNTsdk by  doxygen 1.3.8-20040913