ddc
|
Abstract API for bibliographic metadata-expansion modules. More...
#include <BiblExpander.h>
Public Member Functions | |
BxTermWrapper (const string &label=string("NoLabel"), const string &target=string("NoTarget"), const string ¶m=string("")) | |
parses term-expander args as "CLASS PARAM...", uses term-expander label = bibl-expander label More... | |
virtual | ~BxTermWrapper (void) |
virtual void | compile (void) |
set up object based on label, target, and/or parameter strings; default implementation does nothing More... | |
virtual void | expand (const set< string > &src, set< string > &dst) |
Expand a set of terms src to a set of terms dst ; must be overridden by subclass. More... | |
Public Member Functions inherited from CBiblExpander | |
CBiblExpander (const string &label=string("NoLabel"), const string &target=string("NoTarget"), const string ¶m=string("")) | |
virtual | ~CBiblExpander (void) |
Default destructor. More... | |
virtual string | configString (void) const |
String form of this expander. Default is m_BxLabel + " " + m_BxTarget + " " + m_BxParam. More... | |
virtual void | expand (const string &src, set< string > &dst) |
Expand a single term term to a set of terms dst ; default just calls expand(const set<string>&, set<string>&) for temporary singleton source-set. More... | |
Public Attributes | |
CTermExpander * | m_BxTx |
underlying CTermExpander More... | |
Public Attributes inherited from CBiblExpander | |
string | m_BxLabel |
unique label for this expander More... | |
string | m_BxTarget |
physically indexed target bibliographic field name More... | |
string | m_BxParam |
string parameters (for stringification) More... | |
Abstract API for bibliographic metadata-expansion modules.
BxTermWrapper : bibliographic expander wrapping term
BxTermWrapper::BxTermWrapper | ( | const string & | label = string("NoLabel") , |
const string & | target = string("NoTarget") , |
||
const string & | param = string("") |
||
) |
parses term-expander args as "CLASS PARAM...", uses term-expander label = bibl-expander label
References m_BxTx, and newTermExpander().
|
virtual |
References m_BxTx.
|
virtual |
set up object based on label, target, and/or parameter strings; default implementation does nothing
Reimplemented from CBiblExpander.
References CTermExpander::compile(), and m_BxTx.
|
virtual |
Expand a set of terms src to a set of terms dst ; must be overridden by subclass.
Reimplemented from CBiblExpander.
References errOther, CTermExpander::expand(), CBiblExpander::m_BxLabel, and m_BxTx.
CTermExpander* BxTermWrapper::m_BxTx |
underlying CTermExpander
Referenced by BxTermWrapper(), compile(), expand(), and ~BxTermWrapper().