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
AttributeMaterialModifier Class Referenceabstract

Base class for Undo/Redo operations for attribute changes. More...

#include <MaterialModifier.h>

Inheritance diagram for AttributeMaterialModifier:
MaterialModifier AttributeMaterialModifierBool AttributeMaterialModifierString

Public Member Functions

 AttributeMaterialModifier (MaterialDocManager *manager, const char *materialName, int stage, const char *key)
 Constructor for AttributeMaterialModifier. More...
 
virtual ~AttributeMaterialModifier ()
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
- Public Member Functions inherited from MaterialModifier
 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 

Protected Attributes

int stage
 
idStr key
 
- Protected Attributes inherited from MaterialModifier
MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Base class for Undo/Redo operations for attribute changes.

Definition at line 55 of file MaterialModifier.h.

Constructor & Destructor Documentation

AttributeMaterialModifier::AttributeMaterialModifier ( MaterialDocManager manager,
const char *  materialName,
int  stage,
const char *  key 
)

Constructor for AttributeMaterialModifier.

Definition at line 54 of file MaterialModifier.cpp.

virtual AttributeMaterialModifier::~AttributeMaterialModifier ( )
inlinevirtual

Definition at line 59 of file MaterialModifier.h.

Member Function Documentation

virtual void AttributeMaterialModifier::Redo ( )
pure virtual
virtual void AttributeMaterialModifier::Undo ( )
pure virtual

Member Data Documentation

idStr AttributeMaterialModifier::key
protected

Definition at line 66 of file MaterialModifier.h.

int AttributeMaterialModifier::stage
protected

Definition at line 65 of file MaterialModifier.h.


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