Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

corelinux::Environment Class Reference

Environment is a class utility which encapsulates. More...

#include <Environment.hpp>

List of all members.

Public Methods

bool operator== ( EnvironmentCref ) const
 Equality operator.


Static Public Methods

UserIdentifier getUserId ( void )
 Retreive the real user id for the current process.

UserIdentifier getEffectiveUserId ( void )
 Retreive the effective user id for the current process.

GroupIdentifier getGroupId ( void )
 Retreive the real group id for the current process.

GroupIdentifier getEffectiveGroupId ( void )
 Retreive the effective group id for the current process.

ProcessIdentifier getProcessGroupId ( void )
 Retrieve the process group id for the current process.

ProcessIdentifier getProcessGroupId ( ProcessIdentifierRef )
 Retrieve the process group id for a specific process.

Int setupCommonAccess ( CharCptr, const CreateDisposition & )
 Basically, creates a filename for use by those Linux system api that require a key (IPC mainly). More...

Int removeCommonAccess ( CharCptr )
 The reverse of setupCommonAccess. More...


Protected Methods

 Environment ( void ) throw (Assertion)
 Environment ( EnvironmentCref ) throw (Assertion)
EnvironmentRef operator= ( EnvironmentCref ) throw (Assertion)


Detailed Description

Environment is a class utility which encapsulates.


Member Function Documentation

Int corelinux::Environment::removeCommonAccess ( CharCptr aName ) [static]
 

The reverse of setupCommonAccess.

Parameters:
Char   pointer to fully qualified name
Returns:
Int indicating failure (-1)

Int corelinux::Environment::setupCommonAccess ( CharCptr aName,
const CreateDisposition & aMode ) [static]
 

Basically, creates a filename for use by those Linux system api that require a key (IPC mainly).

Parameters:
Char   pointer to fully qualified name
CreateDisposition   disposition of object
Returns:
Int indicating failure (-1)


The documentation for this class was generated from the following files:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium