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

indri::infnet::FieldIteratorNode Class Reference

#include <FieldIteratorNode.hpp>

Inheritance diagram for indri::infnet::FieldIteratorNode:

indri::infnet::ListIteratorNode indri::infnet::InferenceNetworkNode List of all members.

Public Member Functions

 FieldIteratorNode (const std::string &name, class InferenceNetwork &network, int fieldID)
void prepare (lemur::api::DOCID_T documentID)
 sets up as much as we can with just the document ID

const indri::utility::greedy_vector<
indri::index::Extent > & 
extents ()
 returns a list of intervals describing positions of children

const indri::utility::greedy_vector<
INT64 > & 
numbers ()
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
const std::string & getName () const
void annotate (class Annotator &annotator, lemur::api::DOCID_T documentID, indri::index::Extent &extent)
 annotate any results from this node from position begin to position end


Private Attributes

indri::index::DocExtentListIterator_list
int _listID
indri::utility::greedy_vector<
indri::index::Extent
_extents
indri::utility::greedy_vector<
INT64
_numbers
InferenceNetwork_network
std::string _name

Constructor & Destructor Documentation

indri::infnet::FieldIteratorNode::FieldIteratorNode const std::string &  name,
class InferenceNetwork network,
int  fieldID
 


Member Function Documentation

void indri::infnet::FieldIteratorNode::annotate class Annotator annotator,
lemur::api::DOCID_T  documentID,
indri::index::Extent extent
[virtual]
 

annotate any results from this node from position begin to position end

Implements indri::infnet::ListIteratorNode.

const indri::utility::greedy_vector< indri::index::Extent > & indri::infnet::FieldIteratorNode::extents  )  [virtual]
 

returns a list of intervals describing positions of children

Implements indri::infnet::ListIteratorNode.

const std::string & indri::infnet::FieldIteratorNode::getName  )  const [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

void indri::infnet::FieldIteratorNode::indexChanged indri::index::Index index  )  [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

lemur::api::DOCID_T indri::infnet::FieldIteratorNode::nextCandidateDocument  )  [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

const indri::utility::greedy_vector< INT64 > & indri::infnet::FieldIteratorNode::numbers  ) 
 

void indri::infnet::FieldIteratorNode::prepare lemur::api::DOCID_T  documentID  )  [virtual]
 

sets up as much as we can with just the document ID

Implements indri::infnet::ListIteratorNode.


Member Data Documentation

indri::utility::greedy_vector<indri::index::Extent> indri::infnet::FieldIteratorNode::_extents [private]
 

class indri::index::DocExtentListIterator* indri::infnet::FieldIteratorNode::_list [private]
 

int indri::infnet::FieldIteratorNode::_listID [private]
 

std::string indri::infnet::FieldIteratorNode::_name [private]
 

class InferenceNetwork& indri::infnet::FieldIteratorNode::_network [private]
 

indri::utility::greedy_vector<INT64> indri::infnet::FieldIteratorNode::_numbers [private]
 


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