Functions
AMITK_OBJECT_CHILDREN()
#define AMITK_OBJECT_CHILDREN(object) (AMITK_OBJECT(object)->children)
AMITK_OBJECT_PARENT()
#define AMITK_OBJECT_PARENT(object) (AMITK_OBJECT(object)->parent)
AMITK_OBJECT_NAME()
#define AMITK_OBJECT_NAME(object) ((const gchar *) (AMITK_OBJECT(object)->name))
amitk_object_new ()
AmitkObject *
amitk_object_new (void);
amitk_object_write_xml ()
void
amitk_object_write_xml (AmitkObject *object,
FILE *study_file,
gchar **output_filename,
guint64 *location,
guint64 *size);
amitk_object_read_xml ()
AmitkObject *
amitk_object_read_xml (gchar *xml_filename,
FILE *study_file,
guint64 location,
guint64 size,
gchar **perror_buf);
amitk_object_copy ()
AmitkObject *
amitk_object_copy (const AmitkObject *object);
amitk_object_copy_in_place ()
void
amitk_object_copy_in_place (AmitkObject *dest_object,
const AmitkObject *src_object);
amitk_object_set_name ()
void
amitk_object_set_name (AmitkObject *object,
const gchar *new_name);
amitk_object_get_selected ()
gboolean
amitk_object_get_selected (const AmitkObject *object,
const AmitkSelection which_selection);
amitk_object_set_selected ()
void
amitk_object_set_selected (AmitkObject *object,
const gboolean selection,
const AmitkSelection which_selection);
amitk_object_select()
#define amitk_object_select(obj, which) (amitk_object_set_selected((obj), (TRUE), (which)))
amitk_object_unselect()
#define amitk_object_unselect(obj, which) (amitk_object_set_selected((obj), (FALSE), (which)))
amitk_object_set_parent ()
void
amitk_object_set_parent (AmitkObject *object,
AmitkObject *parent);
amitk_object_add_child ()
void
amitk_object_add_child (AmitkObject *object,
AmitkObject *child);
amitk_object_add_children ()
void
amitk_object_add_children (AmitkObject *object,
GList *children);
amitk_object_remove_child ()
gboolean
amitk_object_remove_child (AmitkObject *object,
AmitkObject *child);
amitk_object_remove_children ()
gboolean
amitk_object_remove_children (AmitkObject *object,
GList *children);
amitk_object_compare_object_type ()
gboolean
amitk_object_compare_object_type (AmitkObject *object,
AmitkObjectType type);
amitk_object_get_parent_of_type ()
AmitkObject *
amitk_object_get_parent_of_type (AmitkObject *object,
const AmitkObjectType type);
amitk_object_get_children_of_type ()
GList *
amitk_object_get_children_of_type (AmitkObject *object,
const AmitkObjectType type,
const gboolean recurse);
amitk_object_selected_children ()
gboolean
amitk_object_selected_children (AmitkObject *object,
const AmitkSelection which_selection,
gboolean recurse);
amitk_object_get_selected_children ()
GList *
amitk_object_get_selected_children (AmitkObject *object,
const AmitkSelection which_selection,
const gboolean recurse);
amitk_objects_ref ()
GList *
amitk_objects_ref (GList *objects);
amitk_objects_unref ()
GList *
amitk_objects_unref (GList *objects);
amitk_objects_count ()
gint
amitk_objects_count (GList *objects);
amitk_objects_find_object_by_name ()
AmitkObject *
amitk_objects_find_object_by_name (GList *objects,
const gchar *name);
amitk_objects_count_pairs_by_name ()
gint
amitk_objects_count_pairs_by_name (GList *objects1,
GList *objects2);
amitk_objects_write_xml ()
void
amitk_objects_write_xml (GList *objects,
xmlNodePtr node_list,
FILE *study_file);
amitk_objects_read_xml ()
GList *
amitk_objects_read_xml (xmlNodePtr node_list,
FILE *study_file,
gchar **perror_buf);
amitk_object_type_get_name ()
const gchar *
amitk_object_type_get_name (const AmitkObjectType type);
amitk_selection_get_name ()
const gchar *
amitk_selection_get_name (const AmitkSelection type);