doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
StageInsertModifier Class Reference

Undo/Redo operation for stage inserts. More...

#include <MaterialModifier.h>

Inheritance diagram for StageInsertModifier:
MaterialModifier

Public Member Functions

 StageInsertModifier (MaterialDocManager *manager, const char *materialName, int stageNum, int stageType, const char *stageName)
 Constructor for StageInsertModifier. More...
 
virtual ~StageInsertModifier ()
 
virtual void Undo ()
 Performs an undo operation of an inserted stage. More...
 
virtual void Redo ()
 Performs a redo operation of an inserted stage. More...
 
- Public Member Functions inherited from MaterialModifier
 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 

Protected Attributes

int stageNum
 
int stageType
 
idStr stageName
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Undo/Redo operation for stage inserts.

Definition at line 141 of file MaterialModifier.h.

Constructor & Destructor Documentation

StageInsertModifier::StageInsertModifier ( MaterialDocManager manager,
const char *  materialName,
int  stageNum,
int  stageType,
const char *  stageName 
)

Constructor for StageInsertModifier.

Definition at line 190 of file MaterialModifier.cpp.

virtual StageInsertModifier::~StageInsertModifier ( )
inlinevirtual

Definition at line 144 of file MaterialModifier.h.

Member Function Documentation

void StageInsertModifier::Redo ( void  )
virtual

Performs a redo operation of an inserted stage.

Implements MaterialModifier.

Definition at line 209 of file MaterialModifier.cpp.

void StageInsertModifier::Undo ( void  )
virtual

Performs an undo operation of an inserted stage.

Implements MaterialModifier.

Definition at line 200 of file MaterialModifier.cpp.

Member Data Documentation

idStr StageInsertModifier::stageName
protected

Definition at line 152 of file MaterialModifier.h.

int StageInsertModifier::stageNum
protected

Definition at line 150 of file MaterialModifier.h.

int StageInsertModifier::stageType
protected

Definition at line 151 of file MaterialModifier.h.


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