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

indri::parse::NumericFieldAnnotator Class Reference

#include <NumericFieldAnnotator.hpp>

Inheritance diagram for indri::parse::NumericFieldAnnotator:

indri::parse::Transformation indri::parse::ObjectHandler< _Type > List of all members.

Public Member Functions

 NumericFieldAnnotator (std::string &field)
 ~NumericFieldAnnotator ()
indri::api::ParsedDocumenttransform (indri::api::ParsedDocument *document)
void setHandler (ObjectHandler< indri::api::ParsedDocument > &handler)
void handle (indri::api::ParsedDocument *document)

Private Attributes

ObjectHandler< indri::api::ParsedDocument > * _handler
std::string & _field
bool _foundNonNumeric
int _numberCopyLength
char * _numberCopy

Constructor & Destructor Documentation

indri::parse::NumericFieldAnnotator::NumericFieldAnnotator std::string &  field  )  [inline]
 

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


Member Function Documentation

void indri::parse::NumericFieldAnnotator::handle indri::api::ParsedDocument document  )  [inline, virtual]
 

Implements indri::parse::Transformation.

void indri::parse::NumericFieldAnnotator::setHandler ObjectHandler< indri::api::ParsedDocument > &  handler  )  [inline, virtual]
 

Implements indri::parse::Transformation.

indri::api::ParsedDocument* indri::parse::NumericFieldAnnotator::transform indri::api::ParsedDocument document  )  [inline, virtual]
 

Implements indri::parse::Transformation.


Member Data Documentation

std::string& indri::parse::NumericFieldAnnotator::_field [private]
 

bool indri::parse::NumericFieldAnnotator::_foundNonNumeric [private]
 

ObjectHandler<indri::api::ParsedDocument>* indri::parse::NumericFieldAnnotator::_handler [private]
 

char* indri::parse::NumericFieldAnnotator::_numberCopy [private]
 

int indri::parse::NumericFieldAnnotator::_numberCopyLength [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