OmniSciDB  c0231cc57d
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CacheDataTf Struct Reference

#include <TableFunctionsCommon.hpp>

Public Member Functions

 CacheDataTf (const size_t num_bytes)
 
 ~CacheDataTf ()
 

Public Attributes

int8_t * data_buffer
 
size_t num_bytes
 

Detailed Description

Definition at line 85 of file TableFunctionsCommon.hpp.

Constructor & Destructor Documentation

CacheDataTf::CacheDataTf ( const size_t  num_bytes)
inline

Definition at line 89 of file TableFunctionsCommon.hpp.

References data_buffer, and num_bytes.

89  : num_bytes(num_bytes) {
90  data_buffer = new int8_t[num_bytes];
91  }
CacheDataTf::~CacheDataTf ( )
inline

Definition at line 93 of file TableFunctionsCommon.hpp.

References data_buffer.

93 { delete[] data_buffer; }

Member Data Documentation

int8_t* CacheDataTf::data_buffer

Definition at line 86 of file TableFunctionsCommon.hpp.

Referenced by CacheDataTf(), and ~CacheDataTf().

size_t CacheDataTf::num_bytes

Definition at line 87 of file TableFunctionsCommon.hpp.

Referenced by CacheDataTf().


The documentation for this struct was generated from the following file: