diff options
Diffstat (limited to 'freebsdtvision/doc/html/classTStreamableClass.html')
-rw-r--r-- | freebsdtvision/doc/html/classTStreamableClass.html | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/freebsdtvision/doc/html/classTStreamableClass.html b/freebsdtvision/doc/html/classTStreamableClass.html new file mode 100644 index 0000000..0f29f50 --- /dev/null +++ b/freebsdtvision/doc/html/classTStreamableClass.html @@ -0,0 +1,92 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>TStreamableClass class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.2.18 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> +<hr><h1>TStreamableClass Class Reference</h1>TStreamableClass is used by <a class="el" href="classTStreamableTypes.html">TStreamableTypes</a> and pstream in the registration of streamable classes. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="tobjstrm_8h-source.html">tobjstrm.h</a>></code> +<p> +<a href="classTStreamableClass-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classTStreamableClass.html#a0">TStreamableClass</a> (const char *aName, <a class="el" href="tobjstrm_8h.html#a2">BUILDER</a> aBuild, int aDelta)</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +TStreamableClass is used by <a class="el" href="classTStreamableTypes.html">TStreamableTypes</a> and pstream in the registration of streamable classes. +<p> + +<p> +Definition at line <a class="el" href="tobjstrm_8h-source.html#l00155">155</a> of file <a class="el" href="tobjstrm_8h-source.html">tobjstrm.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="TStreamableClass::TStreamableClass"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> TStreamableClass::TStreamableClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>aName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="tobjstrm_8h.html#a2">BUILDER</a> </td> + <td class="mdname" nowrap> <em>aBuild</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>aDelta</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a <a class="el" href="classTStreamable.html">TStreamable</a> object with the given name and the given builder function, then calls pstream::registerTypes(). +<p> +Each streamable class TClassName has a build member function. There are also the familiar non-member overloaded >> and << operators for stream I/O associated with each streamable class. +<p> +For type-safe object-stream I/O, the stream manager needs to access the names and the type information for each class. +<p> +To ensure that the appropriate functions are linked into any application using the stream manager, you must provide an extern reference such as this: +<p> +<pre> + extern TStreamableClass registerTClassName; + </pre> +<p> +where TClassName is the name of the class for which objects need to be streamed. <a class="el" href="tobjstrm_8h.html#a2">BUILDER</a> is typedefed as follows: +<p> +<pre> + typedef <a class="el" href="classTStreamable.html">TStreamable</a> *(*BUILDER)(); + </pre> </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="tobjstrm_8h-source.html">tobjstrm.h</a></ul> +<hr><address style="align: right;"><small>Generated on Wed Apr 2 22:13:17 2003 for TVision by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.2.18 </small></address> +</body> +</html> |