IPrivilegePredicate
Description
- Extended by
-
PrivilegePredicate abstract
Base interfaces for classes that check whether a privilege for accessing a native resource is granted to the Tinman 3D SDK.
The object.ToString method of a IPrivilegePredicate implementation should return a human-readable representation of the predicate logic.
- See also
Public / Methods
And
Returns a IPrivilegePredicate object that only allows an access if it is allowed by this
object and the given other in one.
The string representation of the returned object is "AND(X,Y…)"
, where X
is the string representation of this
IPrivilegePredicate object and Y
is the string representation of other in.
Check
Checks whether to grant the privilege for the current access.
If Flags returns PrivilegeFlags.None, then this method must always return the same value, i.e. it must behave as if Constant had been specified (see IPrivilegePredicate.IsAlways).
Not
Returns a IPrivilegePredicate object that inverts the result of this
object.
The string representation of the returned is "NOT(X)"
, where X
is the string representation of this
IPrivilegePredicate object.
Or
Returns a IPrivilegePredicate object that allows an access if it is allowed by this
object or the given other in one.
The string representation of the returned object is "OR(X,Y…)"
, where X
is the string representation of this
IPrivilegePredicate object and Y
is the string representation of other in.
Extensions
Restrict
2 overloads
Restricts the given privilege in by requiring that this predicate returns true
before granting it.
This method may only be called while the Tinman 3D SDK is still uninitialized, see TinmanModule.IsInitialized.
- See also
Restricts the given privileges in by requiring that this predicate returns true
before granting any of them.
This method may only be called while the Tinman 3D SDK is still uninitialized, see TinmanModule.IsInitialized.
- See also