45 #ifndef __EST_ITEM_CONTENT_H__ 46 #define __EST_ITEM_CONTENT_H__ 69 void copy(
const EST_Item_Content &x);
98 EST_Item_Content&
operator = (
const EST_Item_Content& a);
99 friend ostream&
operator << (ostream &s,
const EST_Item_Content &a);
111 {
return relations.
present(name); }
113 int unref_relation(
const EST_String &relname);
115 int unref_and_delete();
118 friend class EST_Item;
EST_Item * Relation(const char *name)
EST_Val est_val(const EST_Item_featfunc f)
EST_Item_Content(const EST_Item_Content &content)
Copy constructor.
void set(const EST_String &name, int ival)
EST_Features f
General features for this item.
const EST_String S(const EST_String &path) const
EST_TKVL< EST_String, EST_Val > relations
#define VAL_REGISTER_CLASS_DCLS(NAME, CLASS)
const V & val_def(const K &rkey, const V &def) const
value or default
EST_TVector< T > & copy(EST_TVector< T > a, const EST_TList< T > &in)
EST_Item_Content()
Default constructor.
const EST_String name() const
void set_name(const EST_String &s)
set name
EST_String & operator=(const char *str)
Assign C string to EST_String.
int in_relation(const EST_String &name) const
int present(const K &rkey) const
Returns true if key is present.
ostream & operator<<(ostream &st, const EST_FeatureData &d)