OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
CSMWorld::ReorderRowsCommand Class Reference

#include <commands.hpp>

Inheritance diagram for CSMWorld::ReorderRowsCommand:
Collaboration diagram for CSMWorld::ReorderRowsCommand:

Public Member Functions

 ReorderRowsCommand (IdTable &model, int baseIndex, const std::vector< int > &newOrder)
 
virtual void redo ()
 
virtual void undo ()
 

Private Attributes

IdTablemModel
 
int mBaseIndex
 
std::vector< intmNewOrder
 

Constructor & Destructor Documentation

CSMWorld::ReorderRowsCommand::ReorderRowsCommand ( IdTable model,
int  baseIndex,
const std::vector< int > &  newOrder 
)

Member Function Documentation

void CSMWorld::ReorderRowsCommand::redo ( )
virtual
void CSMWorld::ReorderRowsCommand::undo ( )
virtual

Member Data Documentation

int CSMWorld::ReorderRowsCommand::mBaseIndex
private
IdTable& CSMWorld::ReorderRowsCommand::mModel
private
std::vector<int> CSMWorld::ReorderRowsCommand::mNewOrder
private

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