Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::parse::Conflater Class Reference

#include <Conflater.hpp>

List of all members.

Public Member Functions

 Conflater (const std::map< ConflationPattern *, std::string > &conflations)
 ~Conflater ()
void conflate (TagEvent *tev)
void conflate (TagExtent *tex)
const char * conflate (const char *tagname)

Protected Member Functions

const char * _lookup (const char *name, indri::utility::greedy_vector< indri::parse::AttributeValuePair, 2 > &attributes)

Protected Attributes

indri::utility::HashTable<
const char *, tag_pattern * > 
_pattern_table

Private Member Functions

const char * _strdup (const char *token)

Private Attributes

indri::utility::Buffer _stringBuf


Constructor & Destructor Documentation

indri::parse::Conflater::Conflater const std::map< ConflationPattern *, std::string > &  conflations  )  [inline]
 

indri::parse::Conflater::~Conflater  )  [inline]
 


Member Function Documentation

const char* indri::parse::Conflater::_lookup const char *  name,
indri::utility::greedy_vector< indri::parse::AttributeValuePair, 2 > &  attributes
[inline, protected]
 

const char* indri::parse::Conflater::_strdup const char *  token  )  [inline, private]
 

const char* indri::parse::Conflater::conflate const char *  tagname  )  [inline]
 

return the conflation for this tag name, if one exists. otherwise, return input argument. Does not handle the case of attribute dependent conflations

void indri::parse::Conflater::conflate TagExtent tex  )  [inline]
 

void indri::parse::Conflater::conflate TagEvent tev  )  [inline]
 


Member Data Documentation

indri::utility::HashTable<const char *,tag_pattern*> indri::parse::Conflater::_pattern_table [protected]
 

indri::utility::Buffer indri::parse::Conflater::_stringBuf [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4