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
AttributeMaterialModifierString Class Reference

Undo/Redo operation for string attribute changes. More...

#include <MaterialModifier.h>

Inheritance diagram for AttributeMaterialModifierString:
AttributeMaterialModifier MaterialModifier

Public Member Functions

 AttributeMaterialModifierString (MaterialDocManager *manager, const char *materialName, int stage, const char *key, const char *value, const char *oldValue)
 Constructor for AttributeMaterialModifierString. More...
 
virtual ~AttributeMaterialModifierString ()
 
virtual void Undo ()
 Performs an undo operation of a string attribute change. More...
 
virtual void Redo ()
 Performs a redo operation of a string attribute change. More...
 
- Public Member Functions inherited from AttributeMaterialModifier
 AttributeMaterialModifier (MaterialDocManager *manager, const char *materialName, int stage, const char *key)
 Constructor for AttributeMaterialModifier. More...
 
virtual ~AttributeMaterialModifier ()
 
- Public Member Functions inherited from MaterialModifier
 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 

Protected Attributes

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

Detailed Description

Undo/Redo operation for string attribute changes.

Definition at line 72 of file MaterialModifier.h.

Constructor & Destructor Documentation

AttributeMaterialModifierString::AttributeMaterialModifierString ( MaterialDocManager manager,
const char *  materialName,
int  stage,
const char *  key,
const char *  value,
const char *  oldValue 
)

Constructor for AttributeMaterialModifierString.

Definition at line 69 of file MaterialModifier.cpp.

virtual AttributeMaterialModifierString::~AttributeMaterialModifierString ( )
inlinevirtual

Definition at line 76 of file MaterialModifier.h.

Member Function Documentation

void AttributeMaterialModifierString::Redo ( void  )
virtual

Performs a redo operation of a string attribute change.

Implements AttributeMaterialModifier.

Definition at line 87 of file MaterialModifier.cpp.

void AttributeMaterialModifierString::Undo ( void  )
virtual

Performs an undo operation of a string attribute change.

Implements AttributeMaterialModifier.

Definition at line 79 of file MaterialModifier.cpp.

Member Data Documentation

idStr AttributeMaterialModifierString::oldValue
protected

Definition at line 83 of file MaterialModifier.h.

idStr AttributeMaterialModifierString::value
protected

Definition at line 82 of file MaterialModifier.h.


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