Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes | Private Attributes
assign_memorizer_rep Class Reference
Inheritance diagram for assign_memorizer_rep:
Inheritance graph
[legend]
Collaboration diagram for assign_memorizer_rep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 assign_memorizer_rep (environment env, assoc_environment ch)
void print (tm_ostream &out)
int type ()
int hash ()
bool equal (memorizer_rep *mem)
void compute ()
void set_environment (environment out2)
environment get_environment ()
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 ()

Public Attributes

int ref_count

Private Attributes

std_environment in
assoc_environment local
std_environment out
int h

Detailed Description

Definition at line 129 of file std_environment.cpp.


Constructor & Destructor Documentation

Definition at line 136 of file std_environment.cpp.

                                                                     :
    in (as_std_environment (env)), local (ch), out (in),
    h (weak_hash (env) ^ weak_hash (ch)) {}

Member Function Documentation

void assign_memorizer_rep::compute ( ) [inline, virtual]

Reimplemented from memorizer_rep.

Definition at line 146 of file std_environment.cpp.

Here is the call graph for this function:

bool assign_memorizer_rep::equal ( memorizer_rep mem) [inline, virtual]

Implements memorizer_rep.

Definition at line 143 of file std_environment.cpp.

Here is the call graph for this function:

void memorizer_rep::get_children ( memorizer *&  a,
int &  n 
) [virtual, inherited]

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 from memorizer_rep.

Definition at line 150 of file std_environment.cpp.

                                 {
    return as_environment (out); }
tree memorizer_rep::get_tree ( ) [virtual, inherited]

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:

int assign_memorizer_rep::hash ( ) [inline, virtual]

Implements memorizer_rep.

Definition at line 142 of file std_environment.cpp.

{ return h; }
void assign_memorizer_rep::print ( tm_ostream out) [inline, virtual]

Implements memorizer_rep.

Definition at line 140 of file std_environment.cpp.

{ out << "assign_memorizer"; }
void memorizer_rep::set_children ( memorizer a,
int  n 
) [virtual, inherited]

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:

void assign_memorizer_rep::set_environment ( environment  out2) [inline, virtual]

Reimplemented from memorizer_rep.

Definition at line 148 of file std_environment.cpp.

                                          {
    out= as_std_environment (out2); }

Here is the call graph for this function:

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

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:

int assign_memorizer_rep::type ( ) [inline, virtual]

Implements memorizer_rep.

Definition at line 141 of file std_environment.cpp.

{ return MEMORIZE_ASSIGN; }

Member Data Documentation

int assign_memorizer_rep::h [private]

Definition at line 133 of file std_environment.cpp.

Definition at line 130 of file std_environment.cpp.

Definition at line 131 of file std_environment.cpp.

Definition at line 132 of file std_environment.cpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.


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