gtree.h File Reference

API published in:
API deprecated in:


#include <_ansi.h>
#include <glib/gnode.h>

Go to the source code of this file.


Typedefs

typedef typedefG_BEGIN_DECLS
struct _GTree 
GTree
typedef gboolean(*  GTraverseFunc )(gpointer key, gpointer value, gpointer data)

Functions

IMPORT_C GTree g_tree_new (GCompareFunc key_compare_func)
IMPORT_C GTree g_tree_new_with_data (GCompareDataFunc key_compare_func, gpointer key_compare_data)
IMPORT_C GTree g_tree_new_full (GCompareDataFunc key_compare_func, gpointer key_compare_data, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func)
IMPORT_C void  g_tree_destroy (GTree *tree)
IMPORT_C void  g_tree_insert (GTree *tree, gpointer key, gpointer value)
IMPORT_C void  g_tree_replace (GTree *tree, gpointer key, gpointer value)
IMPORT_C gboolean  g_tree_remove (GTree *tree, gconstpointer key)
IMPORT_C gboolean  g_tree_steal (GTree *tree, gconstpointer key)
IMPORT_C gpointer  g_tree_lookup (GTree *tree, gconstpointer key)
IMPORT_C gboolean  g_tree_lookup_extended (GTree *tree, gconstpointer lookup_key, gpointer *orig_key, gpointer *value)
IMPORT_C void  g_tree_foreach (GTree *tree, GTraverseFunc func, gpointer user_data)
IMPORT_C void  g_tree_traverse (GTree *tree, GTraverseFunc traverse_func, GTraverseType traverse_type, gpointer user_data)
IMPORT_C gpointer  g_tree_search (GTree *tree, GCompareFunc search_func, gconstpointer user_data)
IMPORT_C gint  g_tree_height (GTree *tree)
IMPORT_C gint  g_tree_nnodes (GTree *tree)

Typedef Documentation

typedef gboolean(* GTraverseFunc)(gpointer key, gpointer value, gpointer data)
 
typedef typedefG_BEGIN_DECLS struct _GTree GTree
 

Function Documentation

IMPORT_C void g_tree_destroy GTree tree  ) 
 
IMPORT_C void g_tree_foreach GTree tree,
GTraverseFunc  func,
gpointer  user_data
 
IMPORT_C gint g_tree_height GTree tree  ) 
 
IMPORT_C void g_tree_insert GTree tree,
gpointer  key,
gpointer  value
 
IMPORT_C gpointer g_tree_lookup GTree tree,
gconstpointer  key
 
IMPORT_C gboolean g_tree_lookup_extended GTree tree,
gconstpointer  lookup_key,
gpointer orig_key,
gpointer value
 
IMPORT_C GTree* g_tree_new GCompareFunc  key_compare_func  ) 
 
IMPORT_C GTree* g_tree_new_full GCompareDataFunc  key_compare_func,
gpointer  key_compare_data,
GDestroyNotify  key_destroy_func,
GDestroyNotify  value_destroy_func
 
IMPORT_C GTree* g_tree_new_with_data GCompareDataFunc  key_compare_func,
gpointer  key_compare_data
 
IMPORT_C gint g_tree_nnodes GTree tree  ) 
 
IMPORT_C gboolean g_tree_remove GTree tree,
gconstpointer  key
 
IMPORT_C void g_tree_replace GTree tree,
gpointer  key,
gpointer  value
 
IMPORT_C gpointer g_tree_search GTree tree,
GCompareFunc  search_func,
gconstpointer  user_data
 
IMPORT_C gboolean g_tree_steal GTree tree,
gconstpointer  key
 
IMPORT_C void g_tree_traverse GTree tree,
GTraverseFunc  traverse_func,
GTraverseType  traverse_type,
gpointer  user_data
 

Copyright © Nokia Corporation 2001-2008
Back to top