interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VOS::Group Class Reference
[libvos]

#include <vos/vos/identity.hh>

Inheritance diagram for VOS::Group:

VOS::MetaObject VOS::Vobject VOS::Dispatchable VUtil::RefCounted List of all members.

Detailed Description

A Group of Identity objects.

This allows you to set access control policies that apply to a group of Identities rather than having to specify each Identity individually. In general, Groups can be used to add capabilities, but not take them away, so you should design your permissions to start with restrictive defaults and then add permissions selectively via group membership.

Definition at line 62 of file identity.hh.

Public Member Functions

Static Public Member Functions


Member Function Documentation

virtual void VOS::Group::addIdentity ( Identity id  )  [virtual]

Convenience function to add an identity to this group.

This method is equivilent to

            insertChild(-1, "core:member", id);
Parameters:
id the identity to add to this group

virtual const std::string VOS::Group::getVOSType (  )  [virtual]

Returns:
"core:group"

Reimplemented from VOS::MetaObject.

static MetaObject* VOS::Group::new_Group ( VobjectBase vb,
const std::string &  type 
) [static]

Constructor used for metaobject factory.

Never call this directly.


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