#include "Promoter.h"
#include "../../../common/STLUtils.h"
#include "../../../common/Translator.h"
#include "../../../dataaccess/dataset/DataSet.h"
#include "../../../dataaccess/dataset/ObjectId.h"
#include "../../../dataaccess/dataset/ObjectIdSet.h"
#include "../../../datatype/SimpleData.h"
#include "../../../dataaccess/utils/Utils.h"
#include "../Exception.h"
#include "../Config.h"
#include <QObject>
Go to the source code of this file.
Enumerations | |
enum | COMPARISON { LESSER, EQUAL, GREATER } |
Functions | |
template<class T > | |
void | ClearVector (std::vector< T > &vec) |
COMPARISON | CompareAbsData (te::dt::AbstractData *lhs, te::dt::AbstractData *rhs) |
template<typename T > | |
COMPARISON | CompareSimpleData (const T &lhs, const T &rhs) |
COMPARISON | CompareStr (const std::string &lhs, const std::string &rhs) |
std::vector< std::string > | GetColumnsNames (te::da::DataSet *dset, const std::vector< size_t > &colsPositions) |
size_t | GetRowPosition (const size_t &pos, const std::vector< size_t > &posVec) |
enum COMPARISON |
Enumerator | |
---|---|
LESSER | |
EQUAL | |
GREATER |
Definition at line 35 of file Promoter.cpp.
void ClearVector | ( | std::vector< T > & | vec | ) |
Definition at line 115 of file Promoter.cpp.
Referenced by te::qt::widgets::Promoter::cleanLogRowsAndProcessKeys().
COMPARISON CompareAbsData | ( | te::dt::AbstractData * | lhs, |
te::dt::AbstractData * | rhs | ||
) |
Definition at line 66 of file Promoter.cpp.
References te::dt::BOOLEAN_TYPE, te::dt::CHAR_TYPE, CompareStr(), te::dt::DOUBLE_TYPE, EQUAL, te::dt::FLOAT_TYPE, te::dt::AbstractData::getTypeCode(), GREATER, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, LESSER, te::dt::STRING_TYPE, te::dt::UCHAR_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
COMPARISON CompareSimpleData | ( | const T & | lhs, |
const T & | rhs | ||
) |
Definition at line 52 of file Promoter.cpp.
COMPARISON CompareStr | ( | const std::string & | lhs, |
const std::string & | rhs | ||
) |
Definition at line 42 of file Promoter.cpp.
References EQUAL, GREATER, and LESSER.
Referenced by CompareAbsData().
std::vector<std::string> GetColumnsNames | ( | te::da::DataSet * | dset, |
const std::vector< size_t > & | colsPositions | ||
) |
Definition at line 103 of file Promoter.cpp.
References te::da::DataSet::getPropertyName().
size_t GetRowPosition | ( | const size_t & | pos, |
const std::vector< size_t > & | posVec | ||
) |
Definition at line 120 of file Promoter.cpp.
References TE_TR.
Referenced by te::qt::widgets::Promoter::map2Row().