#include <streamconversion_impl_helper.h>
Helper to Append efficiently to WritableArrayInterface<> by caching several append calls and writing them back in blocks Without this caching mechanism calling Append directly can slow down by a factor of 4 or even more! Usage:
| Public Member Functions | |
| MAXON_IMPLICIT | ArrayAppendCache (WritableArrayInterface< Generic > &destination) | 
| ArrayAppendCache () | |
| MAXON_ATTRIBUTE_FORCE_INLINE Result< void > | Append (const T &ch) | 
| MAXON_ATTRIBUTE_FORCE_INLINE Result< void > | Finalize () | 
| Int | GetCount () const | 
| Private Attributes | |
| Int | _tempPos | 
| T | _tempArray [DEFAULT_APPENDSIZE] | 
| WritableArrayInterface< T > * | _destination | 
| MAXON_IMPLICIT ArrayAppendCache | ( | WritableArrayInterface< Generic > & | destination | ) | 
| ArrayAppendCache | ( | ) | 
| MAXON_ATTRIBUTE_FORCE_INLINE Result<void> Append | ( | const T & | ch | ) | 
| MAXON_ATTRIBUTE_FORCE_INLINE Result<void> Finalize | ( | ) | 
| Int GetCount | ( | ) | const | 
| 
 | private | 
| 
 | private | 
| 
 | private |