// $Id: ZIdentity.cxx 2597 2011-11-13 08:03:06Z matevz $ // Copyright (C) 1999-2008, Matevz Tadel. All rights reserved. // This file is part of GLED, released under GNU General Public License version 2. // For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/. #include "ZIdentity.h" #include <Glasses/ZHashList.h> #include "ZIdentity.c7" #include <Glasses/ZQueen.h> #include <Glasses/ZMirEmittingEntity.h> //__________________________________________________________________________ // // A glass representation of a user identity. ZGroupIdentity // represents user groups and/or virtual organizations. ClassImp(ZIdentity); /**************************************************************************/ void ZIdentity::_init() { mGlassBits |= kFixedNameBit; mActiveMEEs = 0; mAllowThis = 0; } /**************************************************************************/ void ZIdentity::AdEnlightenment() { PARENT_GLASS::AdEnlightenment(); if(mActiveMEEs == 0) { assign_link<ZHashList>(mActiveMEEs, FID(), "ActiveMEEs", GForm("ActiveMEEs of %s", GetName())); mActiveMEEs->SetElementFID(ZMirEmittingEntity::FID()); } } /**************************************************************************/