Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class permissions

boost::interprocess::permissions

Synopsis

// In header: <boost/interprocess/permissions.hpp>


class permissions {
public:
  // construct/copy/destruct
  () ;
  () ;

  // public member functions
   () ;
   () ;
   () ;
   () ;
};

Description

The permissions class represents permissions to be set to shared memory or files, that can be constructed form usual permission representations: a SECURITY_ATTRIBUTES pointer in windows or ORed rwx chmod integer in UNIX.

permissions public construct/copy/destruct

  1. ( type) ;

    Constructs a permissions object from a user provided os-dependent permissions.

  2. () ;

    Constructs a default permissions object: A null security attributes pointer for windows or 0644 for UNIX.

permissions public member functions

  1.  () ;

    Sets permissions to default values: A null security attributes pointer for windows or 0644 for UNIX.

  2.  () ;

    Sets permissions to unrestricted access: A null DACL for windows or 0666 for UNIX.

  3.  ( perm) ;

    Sets permissions from a user provided os-dependent permissions.

  4.  () ;

    Returns stored os-dependent permissions


PrevUpHomeNext