Functions | |
void | suplib::colselect (const vector< string > &icolumns, const vector< string > &exact_add, const vector< string > ®ex_add, const vector< string > &exact_del, const vector< string > ®ex_del, vector< string > &ocolumns) throw ( Exception ) |
select columns based on exact/regex matching/exclusion. | |
bool | suplib::match (const string &str, const string &pattern) throw ( Exception ) |
handles Perl regular expression matching. |
void suplib::colselect | ( | const vector< string > & | icolumns, | |
const vector< string > & | exact_add, | |||
const vector< string > & | regex_add, | |||
const vector< string > & | exact_del, | |||
const vector< string > & | regex_del, | |||
vector< string > & | ocolumns | |||
) | throw ( Exception ) |
select columns based on exact/regex matching/exclusion.
icolumns | vector of column names on which to operate | |
exact_add | column names to add to output | |
regex_add | regular expressions used to add to output | |
exact_del | column names to exclude from output | |
regex_del | regular expressions used to exclude from output | |
ocolumns | set of column names which were selected |
Exception | errors related to pattern matching |
Definition at line 52 of file colselect.cc.
bool suplib::match | ( | const string & | str, | |
const string & | pattern | |||
) | throw ( Exception ) |
handles Perl regular expression matching.
str | the string | |
pattern | the regular expression pattern with which to compare |
Exception | errors related to pattern matching |