LibreOffice Module stoc (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
stoc_sec::Permission Class Referenceabstract

#include <permissions.h>

Inheritance diagram for stoc_sec::Permission:
[legend]
Collaboration diagram for stoc_sec::Permission:
[legend]

Public Types

enum  t_type {
  ALL ,
  RUNTIME ,
  SOCKET ,
  FILE
}
 

Public Member Functions

 Permission (t_type type, ::rtl::Reference< Permission > next)
 
virtual bool implies (Permission const &perm) const =0
 
virtual OUString toString () const =0
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Public Attributes

::rtl::Reference< Permissionm_next
 
enum stoc_sec::Permission::t_type m_type
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 33 of file permissions.h.

Member Enumeration Documentation

◆ t_type

Enumerator
ALL 
RUNTIME 
SOCKET 
FILE 

Definition at line 38 of file permissions.h.

Constructor & Destructor Documentation

◆ Permission()

stoc_sec::Permission::Permission ( t_type  type,
::rtl::Reference< Permission next 
)
inline

Definition at line 40 of file permissions.h.

References type.

Member Function Documentation

◆ implies()

virtual bool stoc_sec::Permission::implies ( Permission const &  perm) const
pure virtual

Implemented in stoc_sec::AllPermission.

◆ toString()

virtual OUString stoc_sec::Permission::toString ( ) const
pure virtual

Member Data Documentation

◆ m_next

::rtl::Reference< Permission > stoc_sec::Permission::m_next

Definition at line 36 of file permissions.h.

◆ m_type

enum stoc_sec::Permission::t_type stoc_sec::Permission::m_type

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