44 #include "ling_class/EST_Item_Content.h"
45 #include "ling_class/EST_Item.h"
46 #include "EST_error.h"
56 if (relations.
length() != 0)
58 cerr <<
"EST_Contents: contents still referenced by Relations" << endl;
62 int EST_Item_Content::unref_relation(
const EST_String &relname)
68 if ((relname ==
"") && (relations.
length() == 1))
78 printf(
"failed to find %s in %s at %g\n",
79 (
const char *)relname,
82 if (relations.
length() == 0)
88 int EST_Item_Content::unref_and_delete()
94 for (p=relations.
list.head(); p;)
96 np = ::item(relations.
list(p).v);
114 s << a.
name() <<
" ; ";
117 for (p=a.relations.
list.head(); p; p = p->next())
118 s <<
" " << a.relations.
list(p).k;