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

indri::parse::OffsetMetadataAnnotator Class Reference

#include <OffsetMetadataAnnotator.hpp>

Inheritance diagram for indri::parse::OffsetMetadataAnnotator:

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

Public Member Functions

 OffsetMetadataAnnotator ()
 ~OffsetMetadataAnnotator ()
void setHandler (ObjectHandler< indri::api::ParsedDocument > &handler)
void handle (indri::api::ParsedDocument *document)
void open (const std::string &offsetMetadataFile)
indri::api::ParsedDocumenttransform (indri::api::ParsedDocument *document)

Private Member Functions

const char * _getDocno (indri::api::ParsedDocument *document)
void _cleanup ()

Private Attributes

std::string _offsetMetadataFile
indri::utility::HashTable<
const char *, indri::utility::greedy_vector<
MetadataPair * > * > 
_annotations
std::vector< char * > _buffers_allocated
bool _first_open
ObjectHandler< indri::api::ParsedDocument > * _handler

Constructor & Destructor Documentation

indri::parse::OffsetMetadataAnnotator::OffsetMetadataAnnotator  )  [inline]
 

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


Member Function Documentation

void indri::parse::OffsetMetadataAnnotator::_cleanup  )  [inline, private]
 

const char* indri::parse::OffsetMetadataAnnotator::_getDocno indri::api::ParsedDocument document  )  [inline, private]
 

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

Implements indri::parse::Transformation.

void indri::parse::OffsetMetadataAnnotator::open const std::string &  offsetMetadataFile  ) 
 

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

Implements indri::parse::Transformation.

indri::api::ParsedDocument * indri::parse::OffsetMetadataAnnotator::transform indri::api::ParsedDocument document  )  [virtual]
 

Implements indri::parse::Transformation.


Member Data Documentation

indri::utility::HashTable<const char *,indri::utility::greedy_vector<MetadataPair*>*> indri::parse::OffsetMetadataAnnotator::_annotations [private]
 

std::vector<char *> indri::parse::OffsetMetadataAnnotator::_buffers_allocated [private]
 

bool indri::parse::OffsetMetadataAnnotator::_first_open [private]
 

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

std::string indri::parse::OffsetMetadataAnnotator::_offsetMetadataFile [private]
 


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