| 3032 | } |
| 3033 | |
| 3034 | bool Config::hasRole(const char * role) const |
| 3035 | { |
| 3036 | if (!role || !*role) return false; |
| 3037 | const char* rname = LookupRole(getImpl()->m_roles, role); |
| 3038 | return rname && *rname; |
| 3039 | } |
| 3040 | |
| 3041 | const char * Config::getRoleName(int index) const |
| 3042 | { |