LibreOffice Module stoc (master) 1
Classes | Functions
stoc_sec Namespace Reference

Classes

class  AllPermission
 
class  lru_cache
 Implementation of a least recently used (lru) cache. More...
 
class  Permission
 
class  PermissionCollection
 

Functions

static sal_Int32 makeMask (OUString const &items, char const *const *strings)
 
static OUString makeStrings (sal_Int32 mask, char const *const *strings)
 
static OUString const & getWorkingDir ()
 
static bool implies (::rtl::Reference< Permission > const &head, Permission const &demanded)
 
static void throwAccessControlException (Permission const &perm, Any const &demanded_perm)
 

Function Documentation

◆ getWorkingDir()

static OUString const & stoc_sec::getWorkingDir ( )
static

Definition at line 289 of file permissions.cxx.

◆ implies()

static bool stoc_sec::implies ( ::rtl::Reference< Permission > const &  head,
Permission const &  demanded 
)
static

Definition at line 501 of file permissions.cxx.

Referenced by stoc_sec::PermissionCollection::checkPermission().

◆ makeMask()

static sal_Int32 stoc_sec::makeMask ( OUString const &  items,
char const *const *  strings 
)
static

Definition at line 49 of file permissions.cxx.

References o3tl::getToken(), n, nPos, SAL_WARN, and o3tl::trim().

◆ makeStrings()

static OUString stoc_sec::makeStrings ( sal_Int32  mask,
char const *const *  strings 
)
static

Definition at line 81 of file permissions.cxx.

◆ throwAccessControlException()

static void stoc_sec::throwAccessControlException ( Permission const &  perm,
Any const &  demanded_perm 
)
static