20 #ifndef _ATBOOLEANORDERIVED_HPP
21 #define _ATBOOLEANORDERIVED_HPP
23 #include <xercesc/util/XercesDefs.hpp>
26 #include <xqilla/framework/XQillaExport.hpp>
36 inline BoolResult(
bool b) : value(b ? BOOL_TRUE : BOOL_FALSE) {}
37 inline operator bool()
const {
return value == BOOL_TRUE; }
78 virtual bool isTrue()
const = 0;
82 virtual bool isFalse()
const = 0;
Definition: XPath2MemoryManager.hpp:45
static const BoolResult True
Definition: ATBooleanOrDerived.hpp:32
BoolResult(bool b)
Definition: ATBooleanOrDerived.hpp:36
Super class of all the reference counted wrappers for Items.
Definition: ReferenceCounted.hpp:61
RefCountPointer< const ATBooleanOrDerived > Ptr
Definition: ATBooleanOrDerived.hpp:53
virtual bool equals(const AnyAtomicType::Ptr &target, const DynamicContext *context) const =0
bool operator!=(BoolResult o) const
Definition: ATBooleanOrDerived.hpp:39
AtomicObjectType
Definition: AnyAtomicType.hpp:34
virtual const XMLCh * getTypeName() const =0
Definition: AnyAtomicType.hpp:30
virtual const XMLCh * asString(const DynamicContext *context) const =0
static const BoolResult False
Definition: ATBooleanOrDerived.hpp:33
virtual const XMLCh * getPrimitiveTypeName() const =0
bool operator==(BoolResult o) const
Definition: ATBooleanOrDerived.hpp:38
virtual const XMLCh * getTypeURI() const =0
static const BoolResult Null
Definition: ATBooleanOrDerived.hpp:34
Definition: ATBooleanOrDerived.hpp:30
The execution time dynamic context interface.
Definition: DynamicContext.hpp:38
Definition: ATBooleanOrDerived.hpp:50
virtual AtomicObjectType getPrimitiveTypeIndex() const =0