Back to index

texmacs  1.0.7.15
Classes | Functions
link.hpp File Reference
#include "tree.hpp"
#include "list.hpp"
#include "hashmap.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  soft_link_rep
class  soft_link
class  link_repository_rep
class  link_repository

Functions

 CONCRETE_CODE (soft_link)
 ABSTRACT_NULL_CODE (link_repository)
list< stringget_ids (tree t)
list< treeget_trees (string id)
list< treeget_links (tree v)
list< stringall_link_types ()
void set_locus_rendering (string var, string val)
string get_locus_rendering (string var)
void declare_visited (string id)
bool has_been_visited (string id)

Function Documentation

Definition at line 167 of file link.cpp.

                  {
  list<string> l;
  iterator<string> it= iterate (type_count);
  while (it->busy()) {
    string s= it->next();
    l= list<string> (s, l);
  }
  return l;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void declare_visited ( string  id)

Definition at line 197 of file link.cpp.

                            {
  visited_table->insert (id);
}

Here is the caller graph for this function:

Definition at line 138 of file link.cpp.

                 {
  if (is_nil (t->obs)) return list<string> ();
  list<observer> l= t->obs->get_tree_pointers ();
  return reverse (get_ids (l));
}

Here is the call graph for this function:

Definition at line 162 of file link.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 189 of file link.cpp.

                                 {
  if (var == "locus-on-paper") return current_locus_on_paper;
  if (var == LOCUS_COLOR) return current_locus_color;
  if (var == VISITED_COLOR) return current_visited_color;
  return "";
}

Here is the caller graph for this function:

Definition at line 151 of file link.cpp.

                      {
  return reverse (as_trees (id_resolve [id]));
}

Here is the call graph for this function:

Here is the caller graph for this function:

bool has_been_visited ( string  id)

Definition at line 202 of file link.cpp.

                             {
  return visited_table->contains (id);
}

Here is the caller graph for this function:

void set_locus_rendering ( string  var,
string  val 
)

Definition at line 182 of file link.cpp.

                                             {
  if (var == "locus-on-paper") current_locus_on_paper= val;
  if (var == LOCUS_COLOR) current_locus_color= val;
  if (var == VISITED_COLOR) current_visited_color= val;
}

Here is the caller graph for this function: