scsolver::CellUpdateSwitch Class Reference

Collaboration diagram for scsolver::CellUpdateSwitch:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CellUpdateSwitch (CalcInterface *p)
 ~CellUpdateSwitch () throw ()

Private Member Functions

 CellUpdateSwitch ()
void * operator new (size_t size)

Private Attributes

CalcInterfacem_pCalc


Detailed Description

Used only to safely switch off cell updates. Declare a local variable of this class type at the beginning of a block where the cell updates should be disabled. It automatically re-enables cell updates when the variable goes out of scope.

Definition at line 167 of file solvemodel.cxx.


Constructor & Destructor Documentation

scsolver::CellUpdateSwitch::CellUpdateSwitch ( CalcInterface p  )  [inline]

Definition at line 170 of file solvemodel.cxx.

References scsolver::CalcInterface::disableCellUpdates().

scsolver::CellUpdateSwitch::~CellUpdateSwitch (  )  throw () [inline]

Definition at line 176 of file solvemodel.cxx.

References scsolver::CalcInterface::enableCellUpdates(), and m_pCalc.

scsolver::CellUpdateSwitch::CellUpdateSwitch (  )  [private]


Member Function Documentation

void* scsolver::CellUpdateSwitch::operator new ( size_t  size  )  [private]


Member Data Documentation

CalcInterface* scsolver::CellUpdateSwitch::m_pCalc [private]

Definition at line 185 of file solvemodel.cxx.

Referenced by ~CellUpdateSwitch().


The documentation for this class was generated from the following file:
Generated on Mon Jul 28 09:13:49 2008 for scsolver by  doxygen 1.5.3