|
void | clear () |
|
int | read (const string &fname) |
|
int | read (vector< string > &dfnames) |
|
int | read (string path, vector< string > &dfnames) |
|
int | id (const string &name) const |
|
int | id_list (vector< string > &names, vector< int > &ids) |
|
string | name (int id) |
|
int | is_in_set (int member_id, int set_id) |
|
int | is_in_set (const string &member, const string &set_name) |
|
int | is_in_set (int member_id, const string &set_name) |
|
int | is_in_set (const string &member, int set_id) |
|
int | prep_sets_lookup_table (const vector< string > &set_names, vector< char > &lut) const |
|
int | prep_sets_indexed_lookup_table (const vector< string > &set_names, vector< unsigned char > &lut) |
|
void | get_set_members (const string &set, vector< int > &members) |
|
void | get_set_members (int set_id, vector< int > &members) |
|
void | get_member_sets (const string &member, vector< int > &sets) |
|
void | get_member_sets (int member_id, vector< int > &sets) |
|
void | get_members_to_all_sets (vector< int > &members, unordered_map< int, vector< int > > &Member2AllSets) |
|
void | get_members_to_all_sets (vector< int > &members, vector< int > &sets, unordered_map< int, vector< int > > &Member2AllSets) |
|
void | get_regex_ids (string regex_s, vector< int > &ids) |
|
void | get_regex_names (string regex_s, vector< string > &names) |
|
int | add_def (const string &fname, const string &name, int id) |
|
int | add_set (const string &fname, const string &member_name, const string &set_name) |
|
void | push_new_def (string name, int id) |
|
void | push_new_set (int set_id, int member_id) |
|
int | write_to_file (string fout, int mode=1) |
|