Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
memorizer_rep Class Reference

#include <memorizer.hpp>

Inheritance diagram for memorizer_rep:
Inheritance graph
[legend]
Collaboration diagram for memorizer_rep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 memorizer_rep ()
virtual ~memorizer_rep ()
virtual void print (tm_ostream &out)=0
virtual int type ()=0
virtual int hash ()=0
virtual bool equal (memorizer_rep *mem)=0
virtual void compute ()
virtual void set_children (memorizer *a, int n)
virtual void get_children (memorizer *&a, int &n)
virtual void set_tree (tree t)
virtual tree get_tree ()
virtual void set_environment (environment env)
virtual environment get_environment ()

Public Attributes

int ref_count

Detailed Description

Definition at line 35 of file memorizer.hpp.


Constructor & Destructor Documentation

Definition at line 37 of file memorizer.hpp.

Here is the call graph for this function:

virtual memorizer_rep::~memorizer_rep ( ) [inline, virtual]

Definition at line 38 of file memorizer.hpp.

Here is the call graph for this function:


Member Function Documentation

void memorizer_rep::compute ( ) [virtual]

Reimplemented in end_with_memorizer_rep, begin_with_memorizer_rep, and assign_memorizer_rep.

Definition at line 22 of file memorizer.cpp.

                        {
  FAILED ("memorizer can't compute its own output");
}

Here is the caller graph for this function:

virtual bool memorizer_rep::equal ( memorizer_rep mem) [pure virtual]
void memorizer_rep::get_children ( memorizer *&  a,
int &  n 
) [virtual]

Reimplemented in compound_memorizer_rep.

Definition at line 33 of file memorizer.cpp.

                                                  {
  a= NULL;
  n= 0;
}

Here is the caller graph for this function:

Reimplemented in end_with_memorizer_rep, begin_with_memorizer_rep, inactive_memorizer_rep, assign_memorizer_rep, rewrite_memorizer_rep, and evaluate_memorizer_rep.

Definition at line 45 of file memorizer.cpp.

                                {
  FAILED ("not an environment memorizer");
  return environment ();
}

Here is the caller graph for this function:

Reimplemented in inactive_memorizer_rep, rewrite_memorizer_rep, and evaluate_memorizer_rep.

Definition at line 57 of file memorizer.cpp.

                         {
  FAILED ("not a tree memorizer");
  return "";
}

Here is the caller graph for this function:

virtual int memorizer_rep::hash ( ) [pure virtual]
virtual void memorizer_rep::print ( tm_ostream out) [pure virtual]
void memorizer_rep::set_children ( memorizer a,
int  n 
) [virtual]

Reimplemented in compound_memorizer_rep.

Definition at line 27 of file memorizer.cpp.

                                                {
  (void) a; (void) n;
  FAILED ("not a compound memorizer");
}

Here is the caller graph for this function:

Reimplemented in end_with_memorizer_rep, begin_with_memorizer_rep, inactive_memorizer_rep, assign_memorizer_rep, rewrite_memorizer_rep, and evaluate_memorizer_rep.

Definition at line 39 of file memorizer.cpp.

                                               {
  (void) env;
  FAILED ("not an environment memorizer");
}

Here is the caller graph for this function:

void memorizer_rep::set_tree ( tree  t) [virtual]

Reimplemented in inactive_memorizer_rep, rewrite_memorizer_rep, and evaluate_memorizer_rep.

Definition at line 51 of file memorizer.cpp.

                               {
  (void) t;
  FAILED ("not a tree memorizer");
}

Here is the caller graph for this function:

virtual int memorizer_rep::type ( ) [pure virtual]

Member Data Documentation

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.


The documentation for this class was generated from the following files: