📄 classserializable__c.html
字号:
<!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>serializable_c 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="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>serializable_c Class Reference</h1>the ancestor of all readable/writeable objects <a href="#_details">More...</a><p><code>#include <<a class="el" href="buffer__2_8h-source.html">buffer_2.h</a>></code><p><a href="classserializable__c-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><a name="a0" doxytag="serializable_c::read"></a>virtual void </td><td valign=bottom><a class="el" href="classserializable__c.html#a0">read</a> (<a class="el" href="classbuffer__c.html">buffer_c</a> &in)</td></tr><tr><td> </td><td><font size=-1><em>read fields from stream. WARNING: you should override this! serializable_c provides a default implementation that does a simple bitwise memory copy. this isn't very safe, accurate or even portable! (remember the lessons on "C++ copy constructors") WARNING #2: the default implementation only supports objects that are under 32K in size. if the object is larger, the result is undefined behavior.</em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a name="a1" doxytag="serializable_c::write"></a>virtual void </td><td valign=bottom><a class="el" href="classserializable__c.html#a1">write</a> (<a class="el" href="classbuffer__c.html">buffer_c</a> &out) const</td></tr><tr><td> </td><td><font size=-1><em>write fields to stream. WARNING: you should override this! serializable_c provides a default implementation that does a simple bitwise memory copy. this isn't very safe, accurate or even portable! (remember the lessons on "C++ copy constructors") WARNING #2: the default implementation only supports objects that are under 32K in size. if the object is larger, the result is undefined behavior.</em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>the ancestor of all readable/writeable objects<p><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="buffer__2_8h-source.html">buffer_2.h</a></ul><hr><address style="align: right;"><small>Generated on Mon Jan 24 21:14:23 2005 for ZIG 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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -