PreCache NetInjector Documentation Center : PreCache NetInjector API Reference

C++ Classes

   







AndFilter

— a conjunction of attribute filter expressions


AndFilter objects facilitate notification filtering by conjunctive expressions.

Hierarchy

precache::util:: Serializable

      --> precache::event:: Filter

            --> precache::event:: CompoundFilter

                  --> precache::event::AndFilter

Constructors

AndFilter(const ChannelInfo& rkChannelInfo)

AndFilter(const ChannelInfo& rkChannelInfo)

Constructs an AndFilter object and associates it with a ChannelInfo object, providing access to a channel's attributes and validation against the associated channel's configuration.

rkChannelInfo  —
the ChannelInfo object to be associated with the AndFilter

AndFilter(const Proxy& rkProxy)

AndFilter(const Proxy& rkProxy)

Constructs an AndFilter object and associates it with a Proxy object, providing access to a channel's attributes and validation against the associated channel's configuration.

rkProxy  —
the proxy associated with the AndFilter

AndFilter(const AndFilter& rkAndFilter)

Constructs a copy of a AndFilter object that is a deep copy of the full tree of Filters rooted at the copied object.

AndFilter(const AndFilter& rkAndFilter)

rkAndFilter  —
the AndFilter to be copied

Destructor

~AndFilter()

Frees up resources that were allocated for this object.

Methods

Match

virtual bool Match( Notification& rkNotification)

Verifies whether a notification type matches the AndFilter object.

rkNotification —
the notification to be matched

returns —
true, if the notification matches; otherwise false

Clone

virtual Filter* Clone

Constructs a clone of the Filter object.

Note: We provide this virtual method rather than a public copy constructor because the cloning must be class-specific, and because many of the true classes are hidden from applications.