File: qofobject_8h.html

package info (click to toggle)
qof 0.5.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,376 kB
  • ctags: 2,995
  • sloc: ansic: 14,210; sh: 7,273; makefile: 204; yacc: 184; lex: 123
file content (72 lines) | stat: -rw-r--r-- 6,745 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>QOF: qofobject.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6-20040222 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>qofobject.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
the Core Object Registration/Lookup Interface 
<p>
<dl compact><dt><b>Author:</b></dt><dd>Copyright (c) 2001,2002 Derek Atkins &lt;<a href="mailto:warlord@MIT.EDU">warlord@MIT.EDU</a>&gt;</dd></dl>

<p>
<code>#include "<a class="el" href="qofbook_8h.html">qofbook.h</a>"</code><br>
<code>#include "<a class="el" href="qofid_8h.html">qofid.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct__QofObject.html">_QofObject</a></td></tr>

<tr><td colspan=2><br><h2>Initialize the object registration subsystem</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga4" doxytag="qofobject.h::qof_object_initialize" ></a>
void&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_object_initialize</b> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga5" doxytag="qofobject.h::qof_object_shutdown" ></a>
void&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_object_shutdown</b> (void)</td></tr>

<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga16">QOF_OBJECT_VERSION</a>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga0" doxytag="qofobject.h::QofObject" ></a>
typedef <a class="el" href="struct__QofObject.html">_QofObject</a>&nbsp;</td><td class="memItemRight" valign=bottom><b>QofObject</b></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga1" doxytag="qofobject.h::QofForeachCB" ></a>
typedef void(*&nbsp;</td><td class="memItemRight" valign=bottom><b>QofForeachCB</b> )(gpointer obj, gpointer user_data)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga2" doxytag="qofobject.h::QofForeachTypeCB" ></a>
typedef void(*&nbsp;</td><td class="memItemRight" valign=bottom><b>QofForeachTypeCB</b> )(<a class="el" href="struct__QofObject.html">QofObject</a> *type, gpointer user_data)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga3" doxytag="qofobject.h::QofForeachBackendTypeCB" ></a>
typedef void(*&nbsp;</td><td class="memItemRight" valign=bottom><b>QofForeachBackendTypeCB</b> )(QofIdTypeConst type, gpointer backend_data, gpointer user_data)</td></tr>

<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>gboolean&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga6">qof_object_register</a> (const <a class="el" href="struct__QofObject.html">QofObject</a> *object)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="struct__QofObject.html">QofObject</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga7">qof_object_lookup</a> (QofIdTypeConst type_name)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>gpointer&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga8">qof_object_new_instance</a> (QofIdTypeConst type_name, <a class="el" href="struct__QofBook.html">QofBook</a> *book)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga9">qof_object_get_type_label</a> (QofIdTypeConst type_name)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga10">qof_object_printable</a> (QofIdTypeConst type_name, gpointer instance)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga11">qof_object_foreach_type</a> (QofForeachTypeCB cb, gpointer user_data)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga12">qof_object_foreach</a> (QofIdTypeConst type_name, <a class="el" href="struct__QofBook.html">QofBook</a> *book, <a class="el" href="group__Entities.html#ga4">QofEntityForeachCB</a> cb, gpointer user_data)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>gboolean&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Objects.html#ga13">qof_object_register_backend</a> (QofIdTypeConst type_name, const char *backend_name, gpointer be_data)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga14" doxytag="qofobject.h::qof_object_lookup_backend" ></a>
gpointer&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_object_lookup_backend</b> (QofIdTypeConst type_name, const char *backend_name)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga15" doxytag="qofobject.h::qof_object_foreach_backend" ></a>
void&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_object_foreach_backend</b> (const char *backend_name, QofForeachBackendTypeCB cb, gpointer user_data)</td></tr>

</table>
<hr size="1"><address style="align: right;"><small>Generated on Sun May 23 15:41:46 2004 for QOF by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.6-20040222 </small></address>
</body>
</html>