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

indri::lang::ContextSimpleCounterNode Class Reference

#include <QuerySpec.hpp>

Inheritance diagram for indri::lang::ContextSimpleCounterNode:

indri::lang::AccumulatorNode indri::lang::Node List of all members.

Public Member Functions

 ContextSimpleCounterNode (const std::vector< std::string > &terms, const std::string &field, const std::string &context)
 ContextSimpleCounterNode (Unpacker &unpacker)
std::string typeName () const
std::string queryText () const
UINT64 hashCode () const
void pack (Packer &packer)
void walk (Walker &walker)
Nodecopy (Copier &copier)
bool hasCounts () const
bool hasContextSize () const
double getOccurrences () const
double getContextSize () const
int getDocumentOccurrences () const
int getDocumentCount () const
const std::vector< std::string > & terms () const
const std::string & field () const
const std::string & context () const
void setContextSize (double contextSize)
void setCounts (double occurrences, double contextSize, int documentOccurrences, int documentCount)

Private Attributes

std::vector< std::string > _terms
std::string _field
std::string _context
bool _hasCounts
bool _hasContextSize
double _occurrences
double _contextSize
int _documentOccurrences
int _documentCount

Constructor & Destructor Documentation

indri::lang::ContextSimpleCounterNode::ContextSimpleCounterNode const std::vector< std::string > &  terms,
const std::string &  field,
const std::string &  context
[inline]
 

indri::lang::ContextSimpleCounterNode::ContextSimpleCounterNode Unpacker unpacker  )  [inline]
 


Member Function Documentation

const std::string& indri::lang::ContextSimpleCounterNode::context  )  const [inline]
 

Node* indri::lang::ContextSimpleCounterNode::copy Copier copier  )  [inline, virtual]
 

Implements indri::lang::Node.

const std::string& indri::lang::ContextSimpleCounterNode::field  )  const [inline]
 

double indri::lang::ContextSimpleCounterNode::getContextSize  )  const [inline]
 

int indri::lang::ContextSimpleCounterNode::getDocumentCount  )  const [inline]
 

int indri::lang::ContextSimpleCounterNode::getDocumentOccurrences  )  const [inline]
 

double indri::lang::ContextSimpleCounterNode::getOccurrences  )  const [inline]
 

bool indri::lang::ContextSimpleCounterNode::hasContextSize  )  const [inline]
 

bool indri::lang::ContextSimpleCounterNode::hasCounts  )  const [inline]
 

UINT64 indri::lang::ContextSimpleCounterNode::hashCode  )  const [inline, virtual]
 

Implements indri::lang::Node.

void indri::lang::ContextSimpleCounterNode::pack Packer packer  )  [inline, virtual]
 

Implements indri::lang::Node.

std::string indri::lang::ContextSimpleCounterNode::queryText  )  const [inline, virtual]
 

Implements indri::lang::Node.

void indri::lang::ContextSimpleCounterNode::setContextSize double  contextSize  )  [inline]
 

void indri::lang::ContextSimpleCounterNode::setCounts double  occurrences,
double  contextSize,
int  documentOccurrences,
int  documentCount
[inline]
 

const std::vector<std::string>& indri::lang::ContextSimpleCounterNode::terms  )  const [inline]
 

std::string indri::lang::ContextSimpleCounterNode::typeName  )  const [inline, virtual]
 

Reimplemented from indri::lang::Node.

void indri::lang::ContextSimpleCounterNode::walk Walker walker  )  [inline, virtual]
 

Implements indri::lang::Node.


Member Data Documentation

std::string indri::lang::ContextSimpleCounterNode::_context [private]
 

double indri::lang::ContextSimpleCounterNode::_contextSize [private]
 

int indri::lang::ContextSimpleCounterNode::_documentCount [private]
 

int indri::lang::ContextSimpleCounterNode::_documentOccurrences [private]
 

std::string indri::lang::ContextSimpleCounterNode::_field [private]
 

bool indri::lang::ContextSimpleCounterNode::_hasContextSize [private]
 

bool indri::lang::ContextSimpleCounterNode::_hasCounts [private]
 

double indri::lang::ContextSimpleCounterNode::_occurrences [private]
 

std::vector<std::string> indri::lang::ContextSimpleCounterNode::_terms [private]
 


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