LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Attributes | List of all members
connectivity::macab::MacabConditionConstant Class Reference

#include <macabcondition.hxx>

Inheritance diagram for connectivity::macab::MacabConditionConstant:
[legend]
Collaboration diagram for connectivity::macab::MacabConditionConstant:
[legend]

Public Member Functions

 MacabConditionConstant (const bool bValue)
 
virtual bool isAlwaysTrue () const override
 
virtual bool isAlwaysFalse () const override
 
virtual bool eval (const MacabRecord *aRecord) const override
 
- Public Member Functions inherited from connectivity::macab::MacabCondition
virtual ~MacabCondition ()
 
virtual bool isAlwaysTrue () const =0
 
virtual bool isAlwaysFalse () const =0
 
virtual bool eval (const MacabRecord *aRecord) const =0
 

Protected Attributes

bool m_bValue
 

Detailed Description

Definition at line 43 of file macabcondition.hxx.

Constructor & Destructor Documentation

◆ MacabConditionConstant()

MacabConditionConstant::MacabConditionConstant ( const bool  bValue)
explicit

Definition at line 33 of file macabcondition.cxx.

Member Function Documentation

◆ eval()

bool MacabConditionConstant::eval ( const MacabRecord aRecord) const
overridevirtual

Implements connectivity::macab::MacabCondition.

Definition at line 49 of file macabcondition.cxx.

References m_bValue.

◆ isAlwaysFalse()

bool MacabConditionConstant::isAlwaysFalse ( ) const
overridevirtual

Implements connectivity::macab::MacabCondition.

Definition at line 44 of file macabcondition.cxx.

References m_bValue.

◆ isAlwaysTrue()

bool MacabConditionConstant::isAlwaysTrue ( ) const
overridevirtual

Implements connectivity::macab::MacabCondition.

Definition at line 39 of file macabcondition.cxx.

References m_bValue.

Member Data Documentation

◆ m_bValue

bool connectivity::macab::MacabConditionConstant::m_bValue
protected

Definition at line 46 of file macabcondition.hxx.

Referenced by eval(), isAlwaysFalse(), and isAlwaysTrue().


The documentation for this class was generated from the following files: