ddc
Public Member Functions | List of all members
TxId Class Reference

TxId: identity expander (null-op): params: none. More...

#include <TermExpander.h>

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

Public Member Functions

 TxId (const string &label=string("Id"), const string &param=string(""))
 
virtual ~TxId (void)
 
virtual CTermExpanderclone (map< CTermExpander *, CTermExpander *> &xlate) const
 clone constructor to create a new expansion object (override this for derived classes) */ More...
 
virtual void expand (const set< string > &src, set< string > &dst)
 Expand a set of terms src to a set of terms dst. More...
 
- Public Member Functions inherited from CTermExpander
 CTermExpander (const string &cls, const string &label, const string &param)
 Full constructor (abstract base classes only) More...
 
 CTermExpander (const string &label=string("NoLabel"), const string &param=string(""))
 Default constructor, to be overridden by subclasses. More...
 
virtual CTermExpandermapClone (map< CTermExpander *, CTermExpander *> &xlate) const
 clone constructor, handles sub-object cloning according to xlate map */ More...
 
virtual ~CTermExpander (void)
 Default destructor. More...
 
virtual void compile (void)
 set up object based on label and/or parameter string; default implementation does nothing More...
 
virtual string configString (void) const
 String form of this expander. Default is m_Class + " " + m_Label + " " + m_Param. More...
 
virtual void expand (const string &src, set< string > &dst)
 Expand a single term term to a set of terms dst. More...
 

Additional Inherited Members

- Public Attributes inherited from CTermExpander
string m_Class
 class name for this expander More...
 
string m_Label
 unique name for this expander More...
 
string m_Param
 string argument(s) for this expander (parameters, for stringification) More...
 

Detailed Description

TxId: identity expander (null-op): params: none.

Constructor & Destructor Documentation

◆ TxId()

TxId::TxId ( const string &  label = string("Id"),
const string &  param = string("") 
)
inline

◆ ~TxId()

virtual TxId::~TxId ( void  )
inlinevirtual

Member Function Documentation

◆ clone()

virtual CTermExpander* TxId::clone ( map< CTermExpander *, CTermExpander *> &  xlate) const
inlinevirtual

clone constructor to create a new expansion object (override this for derived classes) */

Reimplemented from CTermExpander.

References CTermExpander::expand().

Here is the call graph for this function:

◆ expand()

void TxId::expand ( const set< string > &  src,
set< string > &  dst 
)
virtual

Expand a set of terms src to a set of terms dst.

Reimplemented from CTermExpander.


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