Allows controlling the packing mode when creating the buffer.
The CreateMode allows different types of packed buffers to be creates. The AllowOverride is used to not do the marked packing if the SM options has SM_option_override_packing enabled. If this is set and AllowOverride is specified, no packing will be done and the memory will be allocated in a unpacked layout (potential memory leaks). If the NoOverride is specified, the buffer will be packed and special marking will be done on all embedded allocations. the NoMarking option will pack the buffer and no marking is done on the embedded allocation. This can be used when there is no external exposure to the packed buffer and there is knowlege that the caller is freeing the buffer correctly.
| Enumerator |
|---|
| AllowOverride |
The AllowOverride can be use to allow unpacked data to be generated.
|
| NoOverride |
This generates packed data with special marking.
|
| NoMarking |
Creates a packed with no marking (smallest overhead).
|
Definition at line 101 of file PackedMemoryBuilder.hxx.