OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
OpenXLSX::XLAllocatedMemory Struct Reference

Auto-managed malloc memory for Zero-Copy serialization. More...

#include <XLXmlData.hpp>

Public Member Functions

 ~XLAllocatedMemory ()
 XLAllocatedMemory ()=default
 XLAllocatedMemory (const XLAllocatedMemory &)=delete
XLAllocatedMemory & operator= (const XLAllocatedMemory &)=delete
 XLAllocatedMemory (XLAllocatedMemory &&other) noexcept
XLAllocatedMemory & operator= (XLAllocatedMemory &&other) noexcept
void * release ()

Data Fields

void * data = nullptr
size_t size = 0

Detailed Description

Auto-managed malloc memory for Zero-Copy serialization.

Constructor & Destructor Documentation

◆ ~XLAllocatedMemory()

OpenXLSX::XLAllocatedMemory::~XLAllocatedMemory ( )
inline

◆ XLAllocatedMemory() [1/3]

OpenXLSX::XLAllocatedMemory::XLAllocatedMemory ( )
default

◆ XLAllocatedMemory() [2/3]

OpenXLSX::XLAllocatedMemory::XLAllocatedMemory ( const XLAllocatedMemory & )
delete

◆ XLAllocatedMemory() [3/3]

OpenXLSX::XLAllocatedMemory::XLAllocatedMemory ( XLAllocatedMemory && other)
inlinenoexcept

Member Function Documentation

◆ operator=() [1/2]

XLAllocatedMemory & OpenXLSX::XLAllocatedMemory::operator= ( const XLAllocatedMemory & )
delete

◆ operator=() [2/2]

XLAllocatedMemory & OpenXLSX::XLAllocatedMemory::operator= ( XLAllocatedMemory && other)
inlinenoexcept

◆ release()

void * OpenXLSX::XLAllocatedMemory::release ( )
inline

Field Documentation

◆ data

void* OpenXLSX::XLAllocatedMemory::data = nullptr

◆ size

size_t OpenXLSX::XLAllocatedMemory::size = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/OpenXLSX-NX/OpenXLSX-NX/OpenXLSX/headers/XLXmlData.hpp