GRE::MACROSCRIPT Class Reference

#include <gre/viewscript.h>

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

List of all members.

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 MISTRINGLISTGetMenuChoiceList () const
virtual void IniWrite (const char *IniGroup, const char *IniBaseName) const
virtual int Load (const char *IniGroup=0, const char *IniBaseName=0)
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)

Member Enumeration Documentation

Enumerator:
BUTTONTYPE_Simple 
BUTTONTYPE_Menu 

Constructor & Destructor Documentation

GRE::MACROSCRIPT::MACROSCRIPT (  )  [inline]

Default constructor.

GRE::MACROSCRIPT::MACROSCRIPT ( const MACROSCRIPT rhs  ) 

Copy constructor.

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

Destructor.


Member Function Documentation

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  ) 

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

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