21 #ifndef DDC_BIBL_EXPANDER_H 22 #define DDC_BIBL_EXPANDER_H 46 CBiblExpander(
const string& label=
string(
"NoLabel"),
const string& target=
string(
"NoTarget"),
const string& param=
string(
""))
47 : m_BxLabel(label), m_BxTarget(target), m_BxParam(param)
65 virtual void expand(
const string& src, set<string>& dst);
68 virtual void expand(
const set<string>& src, set<string>& dst);
84 BxTermWrapper(
const string& label=
string(
"NoLabel"),
const string& target=
string(
"NoTarget"),
const string& param=
string(
""));
87 virtual void expand(
const set<string>& src, set<string>& dst);
virtual void compile(void)
set up object based on label, target, and/or parameter strings; default implementation does nothing ...
Definition: BiblExpander.h:54
Abstract API for bibliographic metadata-expansion modules.
Definition: BiblExpander.h:31
Abstract API for bibliographic metadata-expansion modules.
Definition: BiblExpander.h:77
string m_BxLabel
unique label for this expander
Definition: BiblExpander.h:34
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>&...
Definition: BiblExpander.cpp:37
Abstract API for term-expansion modules (e.g. thesauri, morphologies, equivalence maps...
Definition: TermExpander.h:33
string m_BxParam
string parameters (for stringification)
Definition: BiblExpander.h:40
virtual string configString(void) const
String form of this expander. Default is m_BxLabel + " " + m_BxTarget + " " + m_BxParam.
Definition: BiblExpander.cpp:31
virtual ~CBiblExpander(void)
Default destructor.
Definition: BiblExpander.h:51
CTermExpander * m_BxTx
underlying CTermExpander
Definition: BiblExpander.h:80
CBiblExpander(const string &label=string("NoLabel"), const string &target=string("NoTarget"), const string ¶m=string(""))
Definition: BiblExpander.h:46
string m_BxTarget
physically indexed target bibliographic field name
Definition: BiblExpander.h:37