Public Member Functions | Public Attributes

GridCacheNameFilter Struct Reference

#include <gridclientnodefilter.hpp>

Inheritance diagram for GridCacheNameFilter:
GridClientPredicate< E1 >

List of all members.

Public Member Functions

 GridCacheNameFilter (const std::string &cacheName)
bool apply (const GridClientNode &node) const

Public Attributes

const GridClientVariant cacheName_

Detailed Description

This predicate evaluates to true for all nodes that have the given cache configured.


Constructor & Destructor Documentation

GridCacheNameFilter::GridCacheNameFilter ( const std::string &  cacheName  )  [inline]

Constructor.

The name of the cache to evaluate against.


Member Function Documentation

bool GridCacheNameFilter::apply ( const GridClientNode &  node  )  const [inline]
Parameters:
node The node to evaluate.
Returns:
True if the node has the given cache configured.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends