tree.cc File Reference

#include "tree.h"
#include <boost/spirit/core.hpp>

Include dependency graph for tree.cc:

Go to the source code of this file.

Functions

void begin_internal (const char *from, const char *to)
void end_internal (const char)
void add_leaf (const char *from, const char *to)
tree< std::string > parse_string_tree (const std::string &str)
std::istream & operator>> (std::istream &in, opencog::tree< std::string > &t) throw (InconsistenceException, std::bad_exception)

Variables

tree< string > tr
tree< string >::iterator at = tr.begin()


Function Documentation

void @1131::add_leaf ( const char *  from,
const char *  to 
) [static]

void @1131::begin_internal ( const char *  from,
const char *  to 
) [static]

void @1131::end_internal ( const   char  )  [static]

Definition at line 17 of file tree.cc.

References opencog::tree< T, tree_node_allocator >::parent().

std::istream& operator>> ( std::istream &  in,
opencog::tree< std::string > &  t 
) throw (InconsistenceException, std::bad_exception)

Definition at line 65 of file tree.cc.

References parse_string_tree(), and TRACE_INFO.

tree<std::string> @1131::parse_string_tree ( const std::string &  str  )  [static]

Definition at line 53 of file tree.cc.

References opencog::tree< T, tree_node_allocator >::begin(), and opencog::tree< T, tree_node_allocator >::clear().

Here is the caller graph for this function:


Variable Documentation

tree<string>::iterator at = tr.begin() [static]

Definition at line 10 of file tree.cc.

rule<ScannerT> beg

Definition at line 47 of file tree.cc.

rule<ScannerT> expr

Definition at line 47 of file tree.cc.

rule<ScannerT> term

Definition at line 47 of file tree.cc.

tree<string> tr [static]

Definition at line 9 of file tree.cc.

std::vector<string> v

Definition at line 28 of file tree.cc.


Generated on Fri Dec 4 23:23:53 2009 for OpenCog Framework by  doxygen 1.5.6