LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc::TableValues Class Reference

Stores cell values for multiple tables. More...

#include <cellvalues.hxx>

Classes

struct  Impl
 

Public Member Functions

 TableValues ()
 
 TableValues (const ScRange &rRange)
 
 ~TableValues ()
 
const ScRangegetRange () const
 
void swap (SCTAB nTab, SCCOL nCol, CellValues &rColValue)
 Swap the entire column. More...
 
void swapNonEmpty (SCTAB nTab, SCCOL nCol, ScColumn &rCol)
 Swap non-empty blocks with the column storage. More...
 
std::vector< CellValueSpangetNonEmptySpans (SCTAB nTab, SCCOL nCol) const
 
void swap (TableValues &rOther)
 

Private Member Functions

 TableValues (const TableValues &)=delete
 
TableValuesoperator= (const TableValues &)=delete
 

Private Attributes

std::unique_ptr< ImplmpImpl
 

Detailed Description

Stores cell values for multiple tables.

Definition at line 87 of file cellvalues.hxx.

Constructor & Destructor Documentation

sc::TableValues::TableValues ( const TableValues )
privatedelete
sc::TableValues::TableValues ( )

Definition at line 307 of file cellvalues.cxx.

sc::TableValues::TableValues ( const ScRange rRange)

Definition at line 310 of file cellvalues.cxx.

sc::TableValues::~TableValues ( )

Definition at line 313 of file cellvalues.cxx.

Member Function Documentation

std::vector< CellValueSpan > sc::TableValues::getNonEmptySpans ( SCTAB  nTab,
SCCOL  nCol 
) const

Definition at line 340 of file cellvalues.cxx.

References sc::CellValues::getNonEmptySpans(), and mpImpl.

Referenced by ScColumn::SwapNonEmpty().

const ScRange & sc::TableValues::getRange ( ) const
TableValues& sc::TableValues::operator= ( const TableValues )
privatedelete
void sc::TableValues::swap ( SCTAB  nTab,
SCCOL  nCol,
CellValues rColValue 
)

Swap the entire column.

Definition at line 322 of file cellvalues.cxx.

References mpImpl, and sc::CellValues::swap().

Referenced by ScColumn::ConvertFormulaToValue(), and sc::UndoFormulaToValue::UndoFormulaToValue().

void sc::TableValues::swap ( TableValues rOther)

Definition at line 350 of file cellvalues.cxx.

References mpImpl.

void sc::TableValues::swapNonEmpty ( SCTAB  nTab,
SCCOL  nCol,
ScColumn rCol 
)

Swap non-empty blocks with the column storage.

Definition at line 331 of file cellvalues.cxx.

References mpImpl, and sc::CellValues::swapNonEmpty().

Referenced by ScColumn::SwapNonEmpty().

Member Data Documentation

std::unique_ptr<Impl> sc::TableValues::mpImpl
private

Definition at line 89 of file cellvalues.hxx.

Referenced by getNonEmptySpans(), getRange(), swap(), and swapNonEmpty().


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