- Main Page
- Related Pages
- Modules
- Classes
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# MTemplateCommand< CommandClass, CommandName, CommandSyntax > Class Template Reference
OpenMaya - API module for common classes

Search for all occurrences

## Detailed Description

### template<class CommandClass, const char * CommandName, MCreateSyntaxFunction CommandSyntax>
class MTemplateCommand< CommandClass, CommandName, CommandSyntax >

Template class for undoable commands.

Helper template class which make writing undoable commands easier.

Parameters:
  - CommandClass : derived from MPxCommand and used in the creator() method
  - CommandName : name of the command
  - CommandSyntax : function pointer to syntax creator

`#include <MTemplateCommand.h>`

Inheritance diagram for MTemplateCommand< CommandClass, CommandName, CommandSyntax >:
[legend]

List of all members.

## Public Member Functions
virtual bool | isUndoable () const
| Define the command as undoable. Search for all occurrences