17 #if !defined(OPENNURBS_COMPRESS_INC_)
18 #define OPENNURBS_COMPRESS_INC_
20 typedef bool (*ON_StreamCallbackFunction)(
void* context, ON__UINT32 size,
const void* buffer );
58 ON_StreamCallbackFunction callback_function,
59 void* callback_context
69 ON_StreamCallbackFunction CallbackFunction()
const;
76 void* CallbackContext()
const;
103 ON__UINT64 in_buffer_size,
104 const void* in_buffer
124 void* callback_context,
125 ON__UINT32 out_buffer_size,
126 const void* out_buffer
148 ON__UINT64 InSize()
const;
158 ON__UINT64 OutSize()
const;
168 ON__UINT32 InCRC()
const;
178 ON__UINT32 OutCRC()
const;
181 ON_StreamCallbackFunction m_out_callback_function;
182 void* m_out_callback_context;
183 ON__UINT64 m_in_size;
184 ON__UINT64 m_out_size;
186 ON__UINT32 m_out_crc;
187 void* m_implementation;
235 ON_StreamCallbackFunction callback_function,
236 void* callback_context
246 ON_StreamCallbackFunction CallbackFunction()
const;
253 void* CallbackContext()
const;
280 ON__UINT64 in_buffer_size,
281 const void* in_buffer
301 void* callback_context,
302 ON__UINT32 out_buffer_size,
303 const void* out_buffer
325 ON__UINT64 InSize()
const;
335 ON__UINT64 OutSize()
const;
345 ON__UINT32 InCRC()
const;
355 ON__UINT32 OutCRC()
const;
358 ON_StreamCallbackFunction m_out_callback_function;
359 void* m_out_callback_context;
360 ON__UINT64 m_in_size;
361 ON__UINT64 m_out_size;
363 ON__UINT32 m_out_crc;
364 void* m_implementation;
bool
Check if val1 and val2 are equals to an epsilon extent.