1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nw::gfx::ShaderBinaryInfo::SafeBuffer</title>
51  </head>
52  <body>
53    <h1>nw::gfx::ShaderBinaryInfo::SafeBuffer Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class SafeBuffer</pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>The class for safely writing to a buffer.</p>
61    </div>
62    <a name="typedef" id="typedef">
63      <h2><CODE>typedef</CODE> Definitions</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67            <td width="100" />
68            <th>
69              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/Self.html">Self</a>
70            </th>
71            <td>
72        </td>
73          </tr> </table>
74      </div>
75    </a> <a name="function" id="function">
76      <h2>Member Functions</h2>
77      <div class="section">
78        <table class="members">
79          <tr>
80            <td width="100">  </td>
81            <th>
82              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/SafeBuffer.html">SafeBuffer</a>
83            </th>
84            <td>Constructor.</td>
85          </tr>
86          <tr>
87            <td width="100">  </td>
88            <th>
89              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/StartAddress.html">StartAddress</a>
90            </th>
91            <td>
92        </td>
93          </tr>
94          <tr>
95            <td width="100">  </td>
96            <th>
97              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/EndAddress.html">EndAddress</a>
98            </th>
99            <td>
100        </td>
101          </tr>
102          <tr>
103            <td width="100">  </td>
104            <th>
105              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/CurrentAddress.html">CurrentAddress</a>
106            </th>
107            <td>
108        </td>
109          </tr>
110          <tr>
111            <td width="100">  </td>
112            <th>
113              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/BufferSize.html"><CODE>BufferSize</CODE></a>
114            </th>
115            <td>
116        </td>
117          </tr>
118          <tr>
119            <td width="100">  </td>
120            <th>
121              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/UsedSize.html">UsedSize</a>
122            </th>
123            <td>
124        </td>
125          </tr>
126          <tr>
127            <td width="100">  </td>
128            <th>
129              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/IsFinished.html">IsFinished</a>
130            </th>
131            <td>
132        </td>
133          </tr>
134          <tr>
135            <td width="100">  </td>
136            <th>
137              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/operator const u32 -2a.html">operator const u32 *</a>
138            </th>
139            <td>
140        </td>
141          </tr>
142          <tr>
143            <td width="100">  </td>
144            <th>
145              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/operator++.html">operator ++</a>
146            </th>
147            <td>
148        </td>
149          </tr>
150          <tr>
151            <td width="100">  </td>
152            <th>
153              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/operator+=.html">operator +=</a>
154            </th>
155            <td>
156        </td>
157          </tr>
158          <tr>
159            <td width="100">  </td>
160            <th>
161              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/VerifyWriteSize.html">VerifyWriteSize</a>
162            </th>
163            <td>Verifies that data of the specified size can be written. Shutdown processing is executed and IsFinished() returns true if the remaining size is not enough.</td>
164          </tr>
165          <tr>
166            <td width="100">  </td>
167            <th>
168              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/Write.html"><CODE>Write</CODE></a>
169            </th>
170            <td>Writes data. Returns a negative error code and exits without writing remaining data, if available memory is insufficient. IsFinished() returns true if the write fails due to a capacity problem.</td>
171          </tr> </table>
172      </div>
173    </a>
174  <hr><p>CONFIDENTIAL</p></body>
175</html>