All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DataSetTableView.cpp File Reference

Go to the source code of this file.

Classes

class  TablePopupFilter
 

Functions

const
te::da::DataSourceCapabilities
GetCapabilities (const te::map::AbstractLayer *layer)
 
std::auto_ptr< te::da::DataSetGetDataSet (const te::map::AbstractLayer *layer, const te::da::DataSet *set, const std::vector< int > &cols, const bool &asc)
 
te::da::DataSourcePtr GetDataSource (const te::map::AbstractLayer *layer)
 
void GetGeometryColumnsPositions (te::da::DataSet *dset, std::vector< int > &cols)
 
QMenu * GetHiddenColumnsMenu (QHeaderView *hView, te::da::DataSet *dset, QMenu *hMnu)
 
std::vector< int > GetHiddenSections (QHeaderView *hView, te::da::DataSet *dset)
 
std::auto_ptr< te::da::SelectGetSelectExpression (const std::string &tableName, const te::da::DataSet *set, const std::vector< int > &cols, const bool &asc)
 
QAction * GetShowAllMenu (QHeaderView *hView, te::da::DataSet *dset, QMenu *hMnu)
 
bool IsGeometryColumn (te::da::DataSet *dset, const size_t &col)
 

Function Documentation

const te::da::DataSourceCapabilities* GetCapabilities ( const te::map::AbstractLayer layer)

Definition at line 120 of file DataSetTableView.cpp.

References GetDataSource().

std::auto_ptr<te::da::DataSet> GetDataSet ( const te::map::AbstractLayer layer,
const te::da::DataSet set,
const std::vector< int > &  cols,
const bool &  asc 
)
void GetGeometryColumnsPositions ( te::da::DataSet dset,
std::vector< int > &  cols 
)
QMenu* GetHiddenColumnsMenu ( QHeaderView *  hView,
te::da::DataSet dset,
QMenu *  hMnu 
)

Definition at line 72 of file DataSetTableView.cpp.

References GetHiddenSections().

Referenced by TablePopupFilter::eventFilter().

std::vector<int> GetHiddenSections ( QHeaderView *  hView,
te::da::DataSet dset 
)
std::auto_ptr<te::da::Select> GetSelectExpression ( const std::string &  tableName,
const te::da::DataSet set,
const std::vector< int > &  cols,
const bool &  asc 
)

Definition at line 131 of file DataSetTableView.cpp.

References te::da::ASC, te::da::DESC, and te::da::DataSet::getPropertyName().

Referenced by GetDataSet().

QAction* GetShowAllMenu ( QHeaderView *  hView,
te::da::DataSet dset,
QMenu *  hMnu 
)

Definition at line 98 of file DataSetTableView.cpp.

References GetHiddenSections().

Referenced by TablePopupFilter::eventFilter().

bool IsGeometryColumn ( te::da::DataSet dset,
const size_t &  col 
)