#include <coherence/util/filter/PriorityFilter.hpp>
Inherits AbstractPriorityTask, and EntryFilter.
Public Types | ||||
| typedef spec::Handle | Handle | |||
| PriorityFilter Handle definition. | ||||
| typedef spec::View | View | |||
| PriorityFilter View definition. | ||||
| typedef spec::Holder | Holder | |||
| PriorityFilter Holder definition. | ||||
Public Member Functions | ||||
| virtual bool | evaluateEntry (Map::Entry::View vEntry) const | |||
| Apply the test to a Map::Entry.
| ||||
| virtual bool | evaluate (Object::View v) const | |||
| Apply the test to the object.
| ||||
| virtual void | readExternal (PofReader::Handle hIn) | |||
| virtual void | writeExternal (PofWriter::Handle hOut) const | |||
| virtual void | toStream (std::ostream &out) const | |||
| Output a human-readable description of this Object to the given stream. coherence::lang::operator<<(std::ostream, Object::View) is defined and will call into the toStream method, to output Objects. If a manged String object is desired, the COH_TO_STRING macro can be used to build up a String from streamable contents.
Object::View vKey = ... Object::View vValue = ... std::cout << vKey << " = " << vValue << std::endl; String::Handle hs = COH_TO_STRING(vKey << " = " << vValue);
| ||||
| virtual EntryFilter::View | getFilter () const | |||
| Obtain the underlying filter. | ||||
Protected Member Functions | ||||
| PriorityFilter () | ||||
| Default constructor (necessary for the PortableObject interface). | ||||
| PriorityFilter (EntryFilter::View vFilter) | ||||
| Construct a PriorityFilter. | ||||
Protected Attributes | ||||
| MemberView< EntryFilter > | m_vFilter | |||
| The wrapped filter. | ||||
| PriorityFilter | ( | EntryFilter::View | vFilter | ) | [protected] |
| virtual EntryFilter::View getFilter | ( | ) | const [virtual] |