Back to index

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

List of all members.

Public Member Functions

 end_with_memorizer_rep (environment env)
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
std_environment out

Detailed Description

Definition at line 222 of file std_environment.cpp.


Constructor & Destructor Documentation

Definition at line 227 of file std_environment.cpp.

                                                 :
    in (as_std_environment (env)), out (in) {}

Member Function Documentation

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

Reimplemented from memorizer_rep.

Definition at line 236 of file std_environment.cpp.

Here is the call graph for this function:

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

Implements memorizer_rep.

Definition at line 233 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 240 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 end_with_memorizer_rep::hash ( ) [inline, virtual]

Implements memorizer_rep.

Definition at line 232 of file std_environment.cpp.

{ return weak_hash (in); }

Here is the call graph for this function:

void end_with_memorizer_rep::print ( tm_ostream out) [inline, virtual]

Implements memorizer_rep.

Definition at line 230 of file std_environment.cpp.

{ out << "end_with_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 end_with_memorizer_rep::set_environment ( environment  out2) [inline, virtual]

Reimplemented from memorizer_rep.

Definition at line 238 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 end_with_memorizer_rep::type ( ) [inline, virtual]

Implements memorizer_rep.

Definition at line 231 of file std_environment.cpp.

{ return MEMORIZE_END_WITH; }

Member Data Documentation

Definition at line 223 of file std_environment.cpp.

Definition at line 224 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: