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

Simple container to keep track of sheet - column pair. More...

#include <columnset.hxx>

Public Member Functions

void set (SCTAB nTab, SCCOL nCol)
 
void getColumns (SCTAB nTab, std::vector< SCCOL > &rCols) const
 
bool hasTab (SCTAB nTab) const
 
bool empty () const
 

Private Types

typedef std::unordered_set< SCCOLColsType
 
typedef std::unordered_map< SCTAB, ColsTypeTabsType
 

Private Attributes

TabsType maTabs
 

Detailed Description

Simple container to keep track of sheet - column pair.

Definition at line 23 of file columnset.hxx.

Member Typedef Documentation

typedef std::unordered_set<SCCOL> sc::ColumnSet::ColsType
private

Definition at line 25 of file columnset.hxx.

typedef std::unordered_map<SCTAB, ColsType> sc::ColumnSet::TabsType
private

Definition at line 26 of file columnset.hxx.

Member Function Documentation

bool sc::ColumnSet::empty ( ) const

Definition at line 60 of file columnset.cxx.

References maTabs.

Referenced by ScDocument::CopyBlockFromClip().

void sc::ColumnSet::getColumns ( SCTAB  nTab,
std::vector< SCCOL > &  rCols 
) const

Definition at line 34 of file columnset.cxx.

References maTabs.

Referenced by ScTable::DeleteCol(), ScTable::DeleteRow(), and ScTable::InsertCol().

bool sc::ColumnSet::hasTab ( SCTAB  nTab) const

Definition at line 55 of file columnset.cxx.

References maTabs.

void sc::ColumnSet::set ( SCTAB  nTab,
SCCOL  nCol 
)

Definition at line 15 of file columnset.cxx.

References maTabs.

Referenced by ScColumn::UpdateReference().

Member Data Documentation

TabsType sc::ColumnSet::maTabs
private

Definition at line 27 of file columnset.hxx.

Referenced by empty(), getColumns(), hasTab(), and set().


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