106 (i2->in_relation(mlsrel->
name())))
108 EST_error(
"can't link two items already in %s\n",
109 (
const char *)mlsrel->
name());
115 if (mls_linked_down(c,i1))
118 mls_insert_down(c,i2);
120 else if (i2->in_relation(mlsrel->
name()))
123 if (mls_linked_down(c,i2))
126 mls_insert_down(c,i1);
132 mls_insert_linked_up(c,i1);
133 mls_insert_linked_down(c,i1);
144 fprintf(stderr,
"remove_link not written yet\n");
EST_Item * insert_below(EST_Item *li=0)
void remove_link(EST_Item *from, EST_Item *to)
EST_Item * as(const EST_Item *n, const char *relname)
EST_Item * insert_above(EST_Item *li=0)
EST_Item * append_daughter(EST_Item *li=0)
int in_relation(const EST_String &relname) const
TRUE if this item is in named relation.
void add_link(EST_Item *from, EST_Item *to)
const EST_String & name() const
int in_list(const EST_Item *c, const EST_Item *l)
EST_Item * insert_after(EST_Item *li=0)
EST_Item * link1(EST_Item *n)
EST_Item * append(EST_Item *si)
int linked(EST_Item *from, EST_Item *to)
EST_Item * next_link(EST_Item *n)