12 #ifndef ROOT_XrdProofGroup 13 #define ROOT_XrdProofGroup 27 #include "XrdOuc/XrdOucHash.hh" 28 #include "XrdOuc/XrdOucString.hh" 45 const char *
Name()
const {
return fName.c_str(); }
65 fMembers += usr; fMembers +=
","; fSize++; }
71 int Active(
const char *usr = 0);
72 bool HasMember(
const char *usr);
85 void Count(
const char *usr,
int n = 1);
102 int ParseInfoFrom(
const char *fn);
108 int Config(
const char *fn);
110 int ReadPriorities();
111 int SetEffectiveFractions(
bool optprio);
115 XrdOucString Export(
const char *grp);
116 int Num() {
return fGroups.Num(); }
117 void Print(
const char *grp);
120 XrdProofGroup *GetUserGroup(
const char *usr,
const char *grp = 0);
const char * Name() const
void AddMember(const char *usr)
XrdOucHash< XrdProofGroup > fGroups
virtual ~XrdProofGroupMember()
void SetPriority(float p)
const char * GetCfgFile() const
XrdOucHash< XrdProofGroupMember > fActives
XrdProofGroupMember(const char *n)
XrdProofdFile fPriorityFile
const char * Members() const
#define XrdSysMutexHelper
void Print(std::ostream &os, const OptionType &opt)
const char * Name() const