Back to index

Private Member Functions | Friends
basic_environment Class Reference

#include <basic_environment.hpp>

List of all members.

Private Member Functions

 ABSTRACT_NULL (basic_environment)
tree operator[] (int key)
 basic_environment (int n)
 basic_environment (assoc_environment env)


environment as_environment (const basic_environment &env)
basic_environment as_basic_environment (const environment &e)

Detailed Description

Definition at line 79 of file basic_environment.hpp.

Constructor & Destructor Documentation

basic_environment::basic_environment ( int  n) [inline, private]

Definition at line 83 of file basic_environment.hpp.

    rep (tm_new<basic_environment_rep> (n)) {}

Definition at line 85 of file basic_environment.hpp.

    rep (tm_new<basic_environment_rep> (round_pow2 (env->n))) {
      for (int i=0; i<env->n; i++)
       rep->raw_insert (env->a[i].key, env->a[i].val); }

Member Function Documentation

tree basic_environment::operator[] ( int  key) [inline, private]

Definition at line 81 of file basic_environment.hpp.

    return rep->read (key); }

Friends And Related Function Documentation

Definition at line 91 of file basic_environment.hpp.

    return basic_environment ((basic_environment_rep*) as_pointer (e)); }
environment as_environment ( const basic_environment env) [friend]

Definition at line 89 of file basic_environment.hpp.

    return environment ((environment_rep*) env.rep); }

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