ddc
|
Abstract API for bibliographic metadata-expansion modules. More...
#include <BiblExpander.h>
Public Member Functions | |
Constructors etc. | |
CBiblExpander (const string &label=string("NoLabel"), const string &target=string("NoTarget"), const string ¶m=string("")) | |
virtual | ~CBiblExpander (void) |
Default destructor. More... | |
virtual void | compile (void) |
set up object based on label, target, and/or parameter strings; default implementation does nothing More... | |
API | |
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... | |
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 Attributes | |
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.
|
inline |
|
inlinevirtual |
Default destructor.
|
inlinevirtual |
set up object based on label, target, and/or parameter strings; default implementation does nothing
Reimplemented in BxTermWrapper.
References configString(), and expand().
|
virtual |
String form of this expander. Default is m_BxLabel + " " + m_BxTarget + " " + m_BxParam.
References m_BxLabel, m_BxParam, and m_BxTarget.
Referenced by compile().
|
virtual |
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.
Referenced by compile().
|
virtual |
Expand a set of terms src to a set of terms dst ; must be overridden by subclass.
Reimplemented in BxTermWrapper.
string CBiblExpander::m_BxLabel |
unique label for this expander
Referenced by CBiblIndex::BiblExpanderMapToJson(), configString(), expand(), and BxTermWrapper::expand().
string CBiblExpander::m_BxTarget |
physically indexed target bibliographic field name
Referenced by CBiblIndex::BiblExpanderMapToJson(), and configString().
string CBiblExpander::m_BxParam |
string parameters (for stringification)
Referenced by CBiblIndex::BiblExpanderMapToJson(), and configString().