29MacabCondition::~MacabCondition()
33MacabConditionConstant::MacabConditionConstant(
const bool bValue)
55 const MacabHeader *header, std::u16string_view sColumnName)
57 m_nFieldNumber(
header->getColumnNumber(sColumnName))
84 else if(aValue->
value ==
nullptr)
91 const MacabHeader *header, std::u16string_view sColumnName)
100 if(aValue ==
nullptr)
102 else if(aValue->
value ==
nullptr)
110 m_sMatchString(sMatchString)
123 if(aValue ==
nullptr)
128 if(aValue2 ==
nullptr)
146 if(aValue ==
nullptr)
151 if(aValue2 ==
nullptr)
169 if(aValue ==
nullptr)
constexpr sal_Int8 header[]
MacabConditionAnd(MacabCondition *pLeft, MacabCondition *pRight)
virtual bool isAlwaysTrue() const override
virtual bool isAlwaysFalse() const override
virtual bool eval(const MacabRecord *aRecord) const override
MacabCondition * m_pRight
MacabConditionBoolean(MacabCondition *pLeft, MacabCondition *pRight)
virtual ~MacabConditionBoolean() override
virtual bool isAlwaysTrue() const override
virtual bool isAlwaysFalse() const override
MacabConditionColumn(const MacabHeader *header, std::u16string_view sColumnName)
MacabConditionCompare(const MacabHeader *header, std::u16string_view sColumnName, const OUString &sMatchString)
const OUString m_sMatchString
virtual bool isAlwaysFalse() const override
virtual bool eval(const MacabRecord *aRecord) const override
virtual bool isAlwaysTrue() const override
MacabConditionDifferent(const MacabHeader *header, std::u16string_view sColumnName, const OUString &sMatchString)
virtual bool eval(const MacabRecord *aRecord) const override
MacabConditionEqual(const MacabHeader *header, std::u16string_view sColumnName, const OUString &sMatchString)
virtual bool eval(const MacabRecord *aRecord) const override
virtual bool eval(const MacabRecord *aRecord) const override
MacabConditionNotNull(const MacabHeader *header, std::u16string_view sColumnName)
virtual bool eval(const MacabRecord *aRecord) const override
MacabConditionNull(const MacabHeader *header, std::u16string_view sColumnName)
virtual bool isAlwaysFalse() const override
virtual bool eval(const MacabRecord *aRecord) const override
MacabConditionOr(MacabCondition *pLeft, MacabCondition *pRight)
virtual bool isAlwaysTrue() const override
MacabConditionSimilar(const MacabHeader *header, std::u16string_view sColumnName, const OUString &sMatchString)
virtual bool eval(const MacabRecord *aRecord) const override
virtual bool isAlwaysFalse() const =0
virtual bool isAlwaysTrue() const =0
virtual bool eval(const MacabRecord *aRecord) const =0
macabfield * get(const sal_Int32 i) const
static macabfield * createMacabField(const OUString &_newFieldString, const ABPropertyType _abtype)
static OUString fieldToString(const macabfield *_aField)
static sal_Int32 compareFields(const macabfield *_field1, const macabfield *_field2)
bool match(const sal_Unicode *pWild, const sal_Unicode *pStr, const sal_Unicode cEscape)