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

indri::lang::Unpacker Class Reference

#include <Unpacker.hpp>

List of all members.

Public Member Functions

 Unpacker (indri::xml::XMLNode *root)
 ~Unpacker ()
std::vector< Node * > unpack ()
std::string getString (const char *stringName)
UINT64 getInteger (const char *name)
double getDouble (const char *name)
RawExtentNodegetRawExtentNode (const char *name)
std::vector< RawExtentNode * > getRawExtentVector (const char *name)
std::vector< ScoredExtentNode * > getScoredExtentVector (const char *name)
std::vector< std::string > getStringVector (const char *name)
std::vector< int > getIntVector (const char *name)
std::vector< lemur::api::DOCID_TgetDocIdVector (const char *name)
std::vector< double > getDoubleVector (const char *name)
ScoredExtentNodegetScoredExtentNode (const char *name)
bool getBoolean (const char *name)
DocumentStructureNodegetDocumentStructureNode (const char *name)
template<class T> std::vector< T * > getNodeVector (const char *name)

Private Member Functions

Node_unpack (indri::xml::XMLNode *child)

Private Attributes

indri::xml::XMLNode_root
std::map< std::string, class
Node * > 
_nodes
indri::xml::XMLNode_current


Constructor & Destructor Documentation

indri::lang::Unpacker::Unpacker indri::xml::XMLNode root  ) 
 

indri::lang::Unpacker::~Unpacker  ) 
 


Member Function Documentation

indri::lang::Node * indri::lang::Unpacker::_unpack indri::xml::XMLNode child  )  [private]
 

bool indri::lang::Unpacker::getBoolean const char *  name  ) 
 

std::vector< lemur::api::DOCID_T > indri::lang::Unpacker::getDocIdVector const char *  name  ) 
 

DocumentStructureNode * indri::lang::Unpacker::getDocumentStructureNode const char *  name  ) 
 

double indri::lang::Unpacker::getDouble const char *  name  ) 
 

std::vector< double > indri::lang::Unpacker::getDoubleVector const char *  name  ) 
 

UINT64 indri::lang::Unpacker::getInteger const char *  name  ) 
 

std::vector< int > indri::lang::Unpacker::getIntVector const char *  name  ) 
 

template<class T>
std::vector<T*> indri::lang::Unpacker::getNodeVector const char *  name  )  [inline]
 

RawExtentNode * indri::lang::Unpacker::getRawExtentNode const char *  name  ) 
 

std::vector< RawExtentNode * > indri::lang::Unpacker::getRawExtentVector const char *  name  ) 
 

ScoredExtentNode * indri::lang::Unpacker::getScoredExtentNode const char *  name  ) 
 

std::vector< ScoredExtentNode * > indri::lang::Unpacker::getScoredExtentVector const char *  name  ) 
 

std::string indri::lang::Unpacker::getString const char *  stringName  ) 
 

std::vector< std::string > indri::lang::Unpacker::getStringVector const char *  name  ) 
 

std::vector< indri::lang::Node * > indri::lang::Unpacker::unpack  ) 
 


Member Data Documentation

indri::xml::XMLNode* indri::lang::Unpacker::_current [private]
 

std::map<std::string, class Node*> indri::lang::Unpacker::_nodes [private]
 

indri::xml::XMLNode* indri::lang::Unpacker::_root [private]
 


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