#include <OSD_Protection.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | OSD_Protection () |
| Initializes global access rights as follows . | |
| Standard_EXPORT | OSD_Protection (const OSD_SingleProtection System, const OSD_SingleProtection User, const OSD_SingleProtection Group, const OSD_SingleProtection World) |
| Sets values of fields . | |
| Standard_EXPORT void | Values (OSD_SingleProtection &System, OSD_SingleProtection &User, OSD_SingleProtection &Group, OSD_SingleProtection &World) |
| Retrieves values of fields . | |
| Standard_EXPORT void | SetValues (const OSD_SingleProtection System, const OSD_SingleProtection User, const OSD_SingleProtection Group, const OSD_SingleProtection World) |
| Sets values of fields . | |
| Standard_EXPORT void | SetSystem (const OSD_SingleProtection priv) |
| Sets protection of 'System' . | |
| Standard_EXPORT void | SetUser (const OSD_SingleProtection priv) |
| Sets protection of 'User' . | |
| Standard_EXPORT void | SetGroup (const OSD_SingleProtection priv) |
| Sets protection of 'Group' . | |
| Standard_EXPORT void | SetWorld (const OSD_SingleProtection priv) |
| Sets protection of 'World' . | |
| Standard_EXPORT OSD_SingleProtection | System () const |
| Gets protection of 'System' . | |
| Standard_EXPORT OSD_SingleProtection | User () const |
| Gets protection of 'User' . | |
| Standard_EXPORT OSD_SingleProtection | Group () const |
| Gets protection of 'Group' . | |
| Standard_EXPORT OSD_SingleProtection | World () const |
| Gets protection of 'World' . | |
| Standard_EXPORT void | Add (OSD_SingleProtection &aProt, const OSD_SingleProtection aRight) |
| Add a right to a single protection. ex: aProt = RWD me.Add(aProt,X) -> aProt = RWXD . | |
| Standard_EXPORT void | Sub (OSD_SingleProtection &aProt, const OSD_SingleProtection aRight) |
| Subtract a right to a single protection. ex: aProt = RWD me.Sub(aProt,RW) -> aProt = D But me.Sub(aProt,RWX) is also valid and gives same result. . | |
Private Member Functions | |
| Standard_EXPORT Standard_Integer | Internal () const |
| Returns System dependent access rights this is a private method. . | |
Private Attributes | |
| OSD_SingleProtection | s |
| OSD_SingleProtection | u |
| OSD_SingleProtection | g |
| OSD_SingleProtection | w |
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1