Switch to side-by-side view
--- a/src/common/rclconfig.cpp +++ b/src/common/rclconfig.cpp @@ -671,6 +671,17 @@ fld.c_str())); return false; } +} + +set<string> RclConfig::getIndexedFields() +{ + set<string> flds; + if (m_fields == 0) + return flds; + + list<string> sl = m_fields->getNames("prefixes"); + flds.insert(sl.begin(), sl.end()); + return flds; } // Return specialisations of field name for search expansion