| 2934 | } |
| 2935 | |
| 2936 | char ** cConfigManager::getArrayKeys(const char *_name, int *N) const |
| 2937 | { |
| 2938 | const ConfigValue *v = getValue(_name); |
| 2939 | if (v!=NULL) { |
| 2940 | if (v->getType() >= CFTP_ARR) { |
| 2941 | if (N!=NULL) *N = v->getSize(); |
| 2942 | return v->getAAkeys(); |
| 2943 | } else { |
| 2944 | CONF_MANAGER_ERR("cannot get names (and size) of array field '%s', this field is not an array (type=%i)",_name,v->getType()); |
| 2945 | } |
| 2946 | } |
| 2947 | if (N!=NULL) *N=0; |
| 2948 | return NULL; |
| 2949 | } |
| 2950 | |
| 2951 | void cConfigManager::printTypeHelp(int _subtype, const char *selection, int dfltConf) |
| 2952 | { |
no test coverage detected