9 #ifndef CLIENTREGISTER_H
10 #define CLIENTREGISTER_H
16 #include "UiSetPair.h"
36 bool validComtree(
int)
const;
43 bool isLocked(
int)
const;
61 void setAccessMethod(
int, Forest::ConfigMode);
108 inline bool ComtreeRegister::validComtIndex(
int ctx)
const {
112 inline int ComtreeRegister::getNumComtrees()
const {
116 inline int ComtreeRegister::getMaxComtrees()
const {
return maxComt; }
118 inline int ComtreeRegister::getMaxClx()
const {
return maxClx; }
140 inline const string& ComtreeRegister::getPassword(
int ctx)
const {
157 return cvec[ctx].configMode;
165 return cvec[ctx].accessMethod;
173 return cvec[ctx].repInterval;
181 return cvec[ctx].repInterval;
184 inline bool ComtreeRegister::isLocked(
int ctx)
const {
200 inline void ComtreeRegister::setPassword(
int ctx,
const string& pwd)
const {
217 return cvec[ctx].configMode = cfg;
225 return cvec[ctx].accessMethod = axs;
233 return cvec[ctx].repInterval = interval;
241 return cvec[ctx].repInterval = t;
249 return (uint64_t(comt) << 32) | comt;