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

indri::lang::WeightedExtentOr Class Reference

#include <QuerySpec.hpp>

Inheritance diagram for indri::lang::WeightedExtentOr:

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

Public Member Functions

 WeightedExtentOr ()
 WeightedExtentOr (const std::vector< double > &weights, const std::vector< RawExtentNode * > &children)
 WeightedExtentOr (Unpacker &unpacker)
std::string typeName () const
std::string queryText () const
UINT64 hashCode () const
void addChild (double weight, RawExtentNode *child)
std::vector< RawExtentNode * > & getChildren ()
std::vector< double > & getWeights ()
bool operator== (Node &node)
void pack (Packer &packer)
void walk (Walker &walker)
Nodecopy (Copier &copier)

Private Attributes

std::vector< RawExtentNode * > _children
std::vector< double > _weights

Constructor & Destructor Documentation

indri::lang::WeightedExtentOr::WeightedExtentOr  )  [inline]
 

indri::lang::WeightedExtentOr::WeightedExtentOr const std::vector< double > &  weights,
const std::vector< RawExtentNode * > &  children
[inline]
 

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


Member Function Documentation

void indri::lang::WeightedExtentOr::addChild double  weight,
RawExtentNode child
[inline]
 

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

Implements indri::lang::Node.

std::vector<RawExtentNode*>& indri::lang::WeightedExtentOr::getChildren  )  [inline]
 

std::vector<double>& indri::lang::WeightedExtentOr::getWeights  )  [inline]
 

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

Implements indri::lang::Node.

bool indri::lang::WeightedExtentOr::operator== Node node  )  [inline, virtual]
 

Reimplemented from indri::lang::Node.

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

Implements indri::lang::Node.

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

Implements indri::lang::Node.

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

Reimplemented from indri::lang::Node.

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

Implements indri::lang::Node.


Member Data Documentation

std::vector<RawExtentNode*> indri::lang::WeightedExtentOr::_children [private]
 

std::vector<double> indri::lang::WeightedExtentOr::_weights [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