UAS_List<UAS_String> EnvMgr::sectionStringToList( const UAS_String & s_sections ) { // ... currently only handles a comma-separated list // ... for section "range" specifiers, need to make second pass // on results of following, which will require some kind of // dive into the UAS to interpret what a "range" of sections // means, at the moment. This was to only apply with "-print", // though. return s_sections.splitFields (SLSEP); // UAS_List initial_cut = s_sections.splitFields (SLSEP); // UAS_String doc_locator, start_doc, end_doc ; // // for (int i = 0; i < docs.length(); i++) // { // (*(initial_cut[i])).split( '-', start_doc, end_doc ) ; // initial_cut.insert( start_doc.length() ? start_doc : end_doc ) ; // ... duely process rest of any range here to build "expanded_list" ... // } // return expanded_list; }
// infolibStringToList() // // parse a string of colon-separated infolib paths and return as a list. // UAS_List<UAS_String> EnvMgr::infolibStringToList( const UAS_String & s_infolibs ) { return s_infolibs.splitFields (ILSEP); }