CUBRID Engine  latest
cubmem::stack_block< S > Class Template Reference

#include <mem_block.hpp>

Collaboration diagram for cubmem::stack_block< S >:
Collaboration graph

Public Member Functions

 stack_block (void)=default
 
char * get_ptr (void)
 
const char * get_read_ptr () const
 

Static Public Attributes

static const size_t SIZE = S
 

Private Attributes

union {
   char   m_buf [SIZE]
 
   std::int64_t   dummy
 
}; 
 

Detailed Description

template<size_t S>
class cubmem::stack_block< S >

Definition at line 79 of file mem_block.hpp.

Constructor & Destructor Documentation

template<size_t S>
cubmem::stack_block< S >::stack_block ( void  )
default

Member Function Documentation

template<size_t S>
char * cubmem::stack_block< S >::get_ptr ( void  )
inline

Definition at line 286 of file mem_block.hpp.

Referenced by record_descriptor::set_external_buffer().

Here is the caller graph for this function:

template<size_t S>
const char * cubmem::stack_block< S >::get_read_ptr ( void  ) const
inline

Definition at line 293 of file mem_block.hpp.

Member Data Documentation

union { ... }
template<size_t S>
std::int64_t cubmem::stack_block< S >::dummy

Definition at line 92 of file mem_block.hpp.

template<size_t S>
char cubmem::stack_block< S >::m_buf[SIZE]

Definition at line 91 of file mem_block.hpp.

template<size_t S>
const size_t cubmem::stack_block< S >::SIZE = S
static

Definition at line 82 of file mem_block.hpp.

Referenced by record_descriptor::set_external_buffer().


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