ddc
Public Member Functions | Public Attributes | List of all members
BxTermWrapper Class Reference

Abstract API for bibliographic metadata-expansion modules. More...

#include <BiblExpander.h>

Inheritance diagram for BxTermWrapper:
Inheritance graph
[legend]
Collaboration diagram for BxTermWrapper:
Collaboration graph
[legend]

Public Member Functions

 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 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 &param=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

CTermExpanderm_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...
 

Detailed Description

Abstract API for bibliographic metadata-expansion modules.

BxTermWrapper : bibliographic expander wrapping term

Constructor & Destructor Documentation

◆ BxTermWrapper()

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().

Here is the call graph for this function:

◆ ~BxTermWrapper()

BxTermWrapper::~BxTermWrapper ( void  )
virtual

References m_BxTx.

Member Function Documentation

◆ compile()

void BxTermWrapper::compile ( void  )
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.

Here is the call graph for this function:

◆ expand()

void BxTermWrapper::expand ( const set< string > &  src,
set< string > &  dst 
)
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.

Here is the call graph for this function:

Member Data Documentation

◆ m_BxTx

CTermExpander* BxTermWrapper::m_BxTx

The documentation for this class was generated from the following files: