#include "HighlightDelegate.h"
#include "Promoter.h"
#include "../../../dataaccess/dataset/ObjectIdSet.h"
#include "../../../dataaccess/dataset/ObjectId.h"
#include "../../../dataaccess/dataset/DataSet.h"
#include "../../../dataaccess/utils/Utils.h"
Go to the source code of this file.
Functions | |
std::string | GetOidAsString (const te::da::ObjectId *oid) |
std::set< std::string > | GetOidsAsString (const te::da::ObjectIdSet *objs) |
bool | ToHighlight (te::da::DataSet *dset, const te::da::ObjectIdSet *objs, const int &row) |
bool | ToHighlight (te::da::DataSet *dset, const std::vector< size_t > &cols, const std::set< std::string > &data, const int &row) |
std::string GetOidAsString | ( | const te::da::ObjectId * | oid | ) |
Definition at line 61 of file HighlightDelegate.cpp.
References te::da::ObjectId::getValue().
Referenced by GetOidsAsString().
std::set<std::string> GetOidsAsString | ( | const te::da::ObjectIdSet * | objs | ) |
Definition at line 74 of file HighlightDelegate.cpp.
References te::da::ObjectIdSet::begin(), te::da::ObjectIdSet::end(), and GetOidAsString().
Referenced by te::qt::widgets::HighlightDelegate::setObjectIdSet().
bool ToHighlight | ( | te::da::DataSet * | dset, |
const te::da::ObjectIdSet * | objs, | ||
const int & | row | ||
) |
Definition at line 29 of file HighlightDelegate.cpp.
References te::da::ObjectIdSet::contains(), te::da::GenerateOID(), te::da::ObjectIdSet::getPropertyNames(), and te::da::DataSet::move().
Referenced by te::qt::widgets::HighlightDelegate::paint().
bool ToHighlight | ( | te::da::DataSet * | dset, |
const std::vector< size_t > & | cols, | ||
const std::set< std::string > & | data, | ||
const int & | row | ||
) |
Definition at line 46 of file HighlightDelegate.cpp.
References te::da::DataSet::getAsString(), te::da::DataSet::isNull(), and te::da::DataSet::move().