Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
link_repository_rep Class Reference

#include <link.hpp>

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

List of all members.

Public Member Functions

 link_repository_rep ()
 ~link_repository_rep ()
void insert_locus (string id, tree t)
void insert_link (soft_link ln)

Public Attributes

list< stringids
list< observerloci
list< soft_linklinks
int ref_count

Detailed Description

Definition at line 53 of file link.hpp.


Constructor & Destructor Documentation

Definition at line 96 of file link.cpp.

{}

Definition at line 98 of file link.cpp.

                                           {
  while (!is_nil (loci)) {
    tree t= obtain_tree (loci->item);
    unregister_pointer (ids->item, loci->item);
    detach_observer (t, loci->item);
    ids= ids->next;
    loci= loci->next;
  }
  while (!is_nil (links)) {
    unregister_link (links->item);
    links= links->next;
  }
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 122 of file link.cpp.

Here is the call graph for this function:

Definition at line 113 of file link.cpp.

                                                    {
  observer obs= tree_pointer (t, true);
  register_pointer (id, obs);
  attach_observer (t, obs);
  ids= list<string> (id, ids);
  loci= list<observer> (obs, loci);
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 55 of file link.hpp.

Definition at line 57 of file link.hpp.

Definition at line 56 of file link.hpp.

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: