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

indri::lang::ContextCounterNode Class Reference

#include <QuerySpec.hpp>

Inheritance diagram for indri::lang::ContextCounterNode:

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

Public Member Functions

 ContextCounterNode (RawExtentNode *raw, RawExtentNode *context)
 ContextCounterNode (Unpacker &unpacker)
std::string typeName () const
std::string queryText () const
UINT64 hashCode () const
RawExtentNodegetContext ()
RawExtentNodegetRawExtent ()
void setRawExtent (RawExtentNode *rawExtent)
void setContext (RawExtentNode *context)
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
void setContextSize (double contextSize)
void setCounts (double occurrences, double contextSize, int documentOccurrences, int documentCount)

Private Attributes

RawExtentNode_raw
RawExtentNode_context
bool _hasCounts
bool _hasContextSize
double _occurrences
double _contextSize
int _documentOccurrences
int _documentCount

Constructor & Destructor Documentation

indri::lang::ContextCounterNode::ContextCounterNode RawExtentNode raw,
RawExtentNode context
[inline]
 

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


Member Function Documentation

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

Implements indri::lang::Node.

RawExtentNode* indri::lang::ContextCounterNode::getContext  )  [inline]
 

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

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

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

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

RawExtentNode* indri::lang::ContextCounterNode::getRawExtent  )  [inline]
 

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

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

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

Implements indri::lang::Node.

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

Implements indri::lang::Node.

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

Implements indri::lang::Node.

void indri::lang::ContextCounterNode::setContext RawExtentNode context  )  [inline]
 

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

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

void indri::lang::ContextCounterNode::setRawExtent RawExtentNode rawExtent  )  [inline]
 

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

Reimplemented from indri::lang::Node.

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

Implements indri::lang::Node.


Member Data Documentation

RawExtentNode* indri::lang::ContextCounterNode::_context [private]
 

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

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

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

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

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

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

RawExtentNode* indri::lang::ContextCounterNode::_raw [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