List of bibliographic entries. More...
Public Member Functions | |
BibEntries * | find (const std::string &query, bool ignoreCase, bool abridgedFields) const |
Search entries. More... | |
BibEntries * | sort (const std::string &pattern, bool abridged) const |
Sort entries. More... | |
Public Attributes | |
T | elements |
STL member. | |
List of bibliographic entries.
BibEntries * BibEntries::find | ( | const std::string & | query, |
bool | ignoreCase, | ||
bool | abridgedFields | ||
) | const |
Search entries.
This function returns a new BibList that contains the references that match the query argument. An empty list is returned if no reference matches and a null pointer in case of an error.
Query syntax is: field1 & field2=value2 & field3!=value3 & field4=value4a|!value4b ... All conditions betwen "&" symbols must be met. These conditions mean:
Field names can be abridged if abridgedFields is true. Case does not matter if ignoreCase is true.
BibEntries * BibEntries::sort | ( | const std::string & | pattern, |
bool | abridged | ||
) | const |
Sort entries.
Syntax is: field1 & -field2 & ... A - prefix reverses order. Field names can be abridged if abridged is true.