Dirk Reiners wrote: > Hi All, > >Allen Bierbaum wrote: > > >>>wait a second, actually it is used >>> >>> key = (UInt32 (pAttachment->getGroupId()) << 16) | binding; >>> >>>as part of the key used to store attachments. >>> >>> >>> >>> >Ah, yes. I forgot that one. > > >>So what does groupId mean? >> >> >> >It's essentially an equivalence class for Attachments. You can have >different classes that exclude each other from the attachment slots, >i.e. you can only have one instance of each equivalenc class attached to >an AttachmentContainer at any given time (modulo IDs, that is). > >The question is: has anybody ever used that? If not I would argue for >removing it in the interest of simplification. > > And if someone is using it I would argue for documenting what it is in the code. :)
-Allen > Dirk > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Opensg-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/opensg-users > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
