pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Protected Member Functions | List of all members
SubordinateOwnership Class Referenceabstract

Ownership where privilege is regulated by some parent object. More...

#include <ownership.h>

Inheritance diagram for SubordinateOwnership:
Inheritance graph
[legend]
Collaboration diagram for SubordinateOwnership:
Collaboration graph
[legend]

Public Member Functions

virtual bool isOwnedBy (const User *user) const override
 
virtual bool hasPermission (const User *user, Action action) const override
 
- Public Member Functions inherited from Ownership
bool isVisibleBy (const User *user) const
 
bool isUsableBy (const User *user) const
 
bool isDecendableBy (const User *user) const
 
bool isReadableBy (const User *user) const
 
bool isEditableBy (const User *user) const
 

Protected Member Functions

virtual OwnershipparentOwner (void) const =0
 

Additional Inherited Members

- Public Types inherited from Ownership
enum class  Type {
  DISOWNED , PRIVATE , SHARED , PUBLISHED ,
  PUBLIC
}
 Access levels for an object. More...
 
enum class  Action { SEE , USE , READ , ALTER }
 Access actions for an object. More...
 

Detailed Description

Ownership where privilege is regulated by some parent object.

Member Function Documentation

◆ hasPermission()

bool SubordinateOwnership::hasPermission ( const User user,
Action  action 
) const
overridevirtual

Implements Ownership.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOwnedBy()

bool SubordinateOwnership::isOwnedBy ( const User user) const
overridevirtual

Implements Ownership.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parentOwner()

virtual Ownership* SubordinateOwnership::parentOwner ( void  ) const
protectedpure virtual

Implemented in MusicThingie.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: