Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes | Friends
environment_rep Class Reference

#include <environment.hpp>

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

List of all members.

Public Member Functions

 environment_rep ()
virtual ~environment_rep ()
virtual bool contains (int key)=0
virtual tree read (int key)=0
virtual void write (int key, const tree &val)=0
virtual void remove (int key)=0
virtual void print (const string &prefix)=0
bool contains (const string &key)
tree read (const string &key)
void write (const string &key, const tree &val)
void remove (const string &key)

Public Attributes

int ref_count

Friends

class environment

Detailed Description

Definition at line 48 of file environment.hpp.


Constructor & Destructor Documentation

Definition at line 50 of file environment.hpp.

{}
virtual environment_rep::~environment_rep ( ) [inline, virtual]

Definition at line 51 of file environment.hpp.

{}

Member Function Documentation

virtual bool environment_rep::contains ( int  key) [pure virtual]

Implemented in basic_environment_rep, std_environment_rep, assoc_environment_rep, and list_environment_rep.

Here is the caller graph for this function:

bool environment_rep::contains ( const string key) [inline]

Definition at line 59 of file environment.hpp.

                                           {
    return contains ((int) make_tree_label (key)); }

Here is the call graph for this function:

virtual void environment_rep::print ( const string prefix) [pure virtual]
virtual tree environment_rep::read ( int  key) [pure virtual]

Implemented in basic_environment_rep, std_environment_rep, assoc_environment_rep, and list_environment_rep.

Here is the caller graph for this function:

tree environment_rep::read ( const string key) [inline]

Definition at line 61 of file environment.hpp.

                                       {
    return read ((int) make_tree_label (key)); }

Here is the call graph for this function:

virtual void environment_rep::remove ( int  key) [pure virtual]
void environment_rep::remove ( const string key) [inline]

Definition at line 65 of file environment.hpp.

                                         {
    remove ((int) make_tree_label (key)); }

Here is the call graph for this function:

virtual void environment_rep::write ( int  key,
const tree val 
) [pure virtual]

Implemented in basic_environment_rep, std_environment_rep, assoc_environment_rep, and list_environment_rep.

Here is the caller graph for this function:

void environment_rep::write ( const string key,
const tree val 
) [inline]

Definition at line 63 of file environment.hpp.

                                                         {
    write ((int) make_tree_label (key), val); }

Here is the call graph for this function:


Friends And Related Function Documentation

friend class environment [friend]

Definition at line 68 of file environment.hpp.


Member Data Documentation

int concrete_struct::ref_count [inherited]

Definition at line 135 of file basic.hpp.


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