ophist.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "ophist.h"

Go to the source code of this file.

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")
 CC_IMPLEMENT_MEMDUMP (OperationHistory, CCObject) CC_IMPLEMENT_DYNCREATE(OpRedo
Operation CC_IMPLEMENT_DYNCREATE (OpUndo, Operation) OperationHistory
 Constructs an OperationHistory object with a maximum size of UINT32_MAX bytes.


Function Documentation

Operation CC_IMPLEMENT_DYNCREATE OpUndo  ,
Operation 
 

Constructs an OperationHistory object with a maximum size of UINT32_MAX bytes.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
6/7/93
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 128 of file ophist.cpp.

00138           :     Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
00139     Created:    6/7/93
00140     Inputs:     -
00141     Outputs:    -
00142     Returns:    -
00143     Purpose:    Constructs an OperationHistory object with a maximum size of UINT32_MAX
00144                 bytes.  
00145     Errors:     -
00146     SeeAlso:    -
00147 
00148 ********************************************************************************************/
00149 
00150 OperationHistory::OperationHistory()
00151 {        
00152     NowPtr = NULL;              // History initially has no operations
00153     CurrentSize = 0;          
00154     //MaxSize = 512000;         // 500K
00155     MaxSize = 2048000;          // 2000K (2MB)      CGS (18/5/2000)
00156                                 // I have changed this because it is too small for some
00157                                 // of the operations that we can now perform
00158     Reduced = FALSE;
00159 }                                     

CC_IMPLEMENT_MEMDUMP OperationHistory  ,
CCObject 
 

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 


Generated on Sat Nov 10 03:49:17 2007 for Camelot by  doxygen 1.4.4