openDAQ
Open data acquisition platform
PermissionsPtr Class Reference

A class which describes a permission configuration for openDAQ object.A configuration object can be constructed using the permission builder class. More...

Inherits ObjectPtr< IPermissions >.

Detailed Description

A class which describes a permission configuration for openDAQ object.A configuration object can be constructed using the permission builder class.

Public Member Functions

daq::Bool getInherited () const
 Returns true if an object should inherit permissions from its parent object. More...
 
daq::DictPtr< daq::IString, daq::IInteger > getAllowed () const
 Returns a dictionary of allowed permissions for each group. More...
 
daq::DictPtr< daq::IString, daq::IInteger > getDenied () const
 Returns a dictionary of denied permissions for each group. More...
 

Member Function Documentation

◆ getAllowed()

daq::DictPtr<daq::IString, daq::IInteger> getAllowed ( ) const
inline

Returns a dictionary of allowed permissions for each group.

Parameters
permissions[out]A dictionary of allowed permissions for each group.

◆ getDenied()

daq::DictPtr<daq::IString, daq::IInteger> getDenied ( ) const
inline

Returns a dictionary of denied permissions for each group.

Parameters
permissions[out]A dictionary of denied permissions for each group.

◆ getInherited()

daq::Bool getInherited ( ) const
inline

Returns true if an object should inherit permissions from its parent object.

Parameters
isInherited[out]True if permissions should be inherited from parent object.