View on
MetaCPAN
Stanislav Sinyagin > SIAM > SIAM::AccessScope

Download:
SIAM-1.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

SIAM::AccessScope - access scope object class

SYNOPSIS ^

INSTANCE METHODS ^

new

  $scope = new SIAM::AccessScope($driver, {'siam.object.id' => $id})

Instantiates a new object. The following object IDs are predefined and are not fetched from the driver:

match_object

Expects an object as an argument. Returns true if the object matches the scope.

get_object_ids

Returns arrayref with all object IDs to which this scope's members point to.

CLASS METHODS ^

matches_all

Takes an ID of an SIAM::AccessScope object and the object class. Returns true if it's a match-all scope for a given class.

syntax highlighting: