27MacabOrder::~MacabOrder()
31MacabSimpleOrder::MacabSimpleOrder(
MacabHeader const *header, std::u16string_view sColumnName,
bool bAscending)
33 m_nFieldNumber(
header->getColumnNumber(sColumnName)),
34 m_bAscending(bAscending)
68 sal_Int32
result =
p->compare(record1, record2);
constexpr sal_Int8 header[]
void addOrder(MacabOrder *pOrder)
virtual sal_Int32 compare(const MacabRecord *record1, const MacabRecord *record2) const override
std::vector< std::unique_ptr< MacabOrder > > m_aOrders
virtual ~MacabComplexOrder() override
macabfield * get(const sal_Int32 i) const
static sal_Int32 compareFields(const macabfield *_field1, const macabfield *_field2)
virtual sal_Int32 compare(const MacabRecord *record1, const MacabRecord *record2) const override