46 int Format(
char* buff,
int bsize,
int& item,
int opts=0);
48 int Format(
char* buff,
int bsize,
const char* setName,
int opts=0);
60 using MRIFam = XrdMonRoll::Item::Family;
62 using MRITrt = XrdMonRoll::Item::Trait;
64 enum sType {isAdon=0x00000001, isPlug=0x00000002};
76 RegInfo(
const char* sName,
const char* tName, sType sTVal);
81 std::vector<RegInfo*> regVec;
83 RegInfo* FindSet(
const char* setName,
int sType);
84 int FormJSON(RegInfo& regInfo,
char* buff,
int bsize);
85 int FormXML( RegInfo& regInfo,
char* buff,
int bsize);
86 bool RegFail(
const char* TName,
const char* SName,
const char* why);
89 void ValEnd(
bool& isBad, XrdMonitor::RegInfo& rI,
const char* aoT,
91 bool ValErr(RegInfo& regInfo,
int iNum,
const char* etxt);
93 bool Validate(RegInfo& regInfo);
bool Register(XrdMonRoll::rollType setType, const char *setName, XrdMonRoll::Item itemVec[], int itemCnt)
int Format(char *buff, int bsize, int &item, int opts=0)