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

indri::lang::Packer Class Reference

#include <Packer.hpp>

List of all members.

Public Member Functions

 Packer ()
 ~Packer ()
void before (class Node *someNode)
void after (class Node *someNode)
void put (const char *name, bool value)
void put (const char *name, int value)
void put (const char *name, unsigned int value)
void put (const char *name, UINT64 value)
void put (const char *name, INT64 value)
void put (const char *name, double value)
void put (const char *name, const std::string &value)
void put (const char *name, const std::vector< lemur::api::DOCID_T > &value)
void put (const char *name, const std::vector< double > &value)
void put (const char *name, const std::vector< std::string > &value)
void put (const char *name, const std::vector< RawExtentNode * > &value)
void put (const char *name, const std::vector< ScoredExtentNode * > &value)
void put (const char *name, Node *value)
void pack (class indri::lang::Node *root)
void pack (std::vector< class indri::lang::Node * > &roots)
std::string toString ()
indri::xml::XMLNodexml ()

Private Member Functions

node_element_getElement (class Node *node)
indri::xml::XMLNode_getNodeReference (class Node *node, const std::string &name)

Private Attributes

std::map< class Node *, node_element * > _elements
std::stack< node_element * > _stack
indri::xml::XMLNode_packedNodes


Constructor & Destructor Documentation

indri::lang::Packer::Packer  ) 
 

indri::lang::Packer::~Packer  ) 
 


Member Function Documentation

Packer::node_element * indri::lang::Packer::_getElement class Node node  )  [private]
 

indri::xml::XMLNode* indri::lang::Packer::_getNodeReference class Node node,
const std::string &  name
[private]
 

void indri::lang::Packer::after class Node someNode  ) 
 

void indri::lang::Packer::before class Node someNode  ) 
 

void indri::lang::Packer::pack std::vector< class indri::lang::Node * > &  roots  ) 
 

void indri::lang::Packer::pack class indri::lang::Node root  ) 
 

void indri::lang::Packer::put const char *  name,
Node value
 

void indri::lang::Packer::put const char *  name,
const std::vector< ScoredExtentNode * > &  value
 

void indri::lang::Packer::put const char *  name,
const std::vector< RawExtentNode * > &  value
 

void indri::lang::Packer::put const char *  name,
const std::vector< std::string > &  value
 

void indri::lang::Packer::put const char *  name,
const std::vector< double > &  value
 

void indri::lang::Packer::put const char *  name,
const std::vector< lemur::api::DOCID_T > &  value
 

void indri::lang::Packer::put const char *  name,
const std::string &  value
 

void indri::lang::Packer::put const char *  name,
double  value
 

void indri::lang::Packer::put const char *  name,
INT64  value
 

void indri::lang::Packer::put const char *  name,
UINT64  value
 

void indri::lang::Packer::put const char *  name,
unsigned int  value
 

void indri::lang::Packer::put const char *  name,
int  value
 

void indri::lang::Packer::put const char *  name,
bool  value
 

std::string indri::lang::Packer::toString  ) 
 

indri::xml::XMLNode * indri::lang::Packer::xml  ) 
 


Member Data Documentation

std::map<class Node*, node_element*> indri::lang::Packer::_elements [private]
 

indri::xml::XMLNode* indri::lang::Packer::_packedNodes [private]
 

std::stack<node_element*> indri::lang::Packer::_stack [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