#include <CascadeFSObject.h>
Inheritance diagram for CascadeFSObject::PermissionsSelector:
Public Member Functions | |
PermissionsSelector () | |
virtual | ~PermissionsSelector () |
destructor | |
virtual void | SetPermissions (u32 inPermFlags) |
virtual bool | Match (CascadeFSObject &inObject) |
<cascade/util/CascadeFSObject.h>
PermissionsSelector determines whether a candidate matches by comparing the permissions of the candidate against those supplied to SetPermissions. Exact matches (only) are accepted. Usage: create the object and call SetPermissions, then pass the Selector in to GetMatchingChild/GetMatchingChildren.
|
default constructor The default constructor is lightweight |
|
destructor
|
|
implementation of the regular permissions matching function Clients should have no need to call this function; it simply implements the required Match function of the abstract base class. Implements CascadeFSObject::Selector. |
|
set the permissions to compare against SetPermissions sets the permissions that constitute a match. The Match function checks for an exact match with the candidate object's permissions, and returns true if they match
|