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