Namespaces | Functions

objtree.cpp File Reference

#include "objtree.h"
#include <sstream>
#include <stdexcept>
#include "datahash/datahash_util.h"
#include "util/token_stream.h"
Include dependency graph for objtree.cpp:

Go to the source code of this file.

Namespaces

namespace  objtree

Functions

static void objtree::verifyLowerCase (IN const char *p)
static bool objtree::idMatchesQuery (IN const char *id, IN const char *query)
bool objtree::isValidPropertyName (IN const char *candidate_name) throw ()
 returns true if the given name is an acceptable property name
bool objtree::isTrue (IN const char *text) throw ()
void objtree::persist (IN const property_t &p, OUT std::string &val)
void objtree::depersist (IN const char *text, OUT property_t &prop)
void objtree::save (IN std::ostream &stream, IN const property_set_t &pset)
void objtree::load (IN std::istream &stream, OUT property_set_t &pset)
smart_ptr< Datahashobjtree::getDatahash (IN const property_set_t &pset)
 given a property set, serialize into a datahash object
void objtree::getPropertySet (IN const Datahash *hash, OUT property_set_t &pset)
 given a datahash, deserialize into a property set