#include <Unpacker.hpp>
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) |
RawExtentNode * | getRawExtentNode (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_T > | getDocIdVector (const char *name) |
std::vector< double > | getDoubleVector (const char *name) |
ScoredExtentNode * | getScoredExtentNode (const char *name) |
bool | getBoolean (const char *name) |
DocumentStructureNode * | getDocumentStructureNode (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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|