OmniSciDB  04ee39c94c
GroupsBuffer Class Reference

Public Member Functions

 GroupsBuffer (const size_t groups_buffer_entry_count, const size_t key_qw_count, const int64_t init_val)
 ~GroupsBuffer ()
 operator int64_t * () const
size_t qw_size () const

Private Attributes

int64_t * groups_buffer_
const size_t size_

Detailed Description

Definition at line 39 of file GroupByHashTest.cpp.

Constructor & Destructor Documentation

◆ GroupsBuffer()

GroupsBuffer::GroupsBuffer ( const size_t  groups_buffer_entry_count,
const size_t  key_qw_count,
const int64_t  init_val 

Definition at line 41 of file GroupByHashTest.cpp.

References groups_buffer_entry_count, anonymous_namespace{GroupByHashTest.cpp}::init_groups(), and key_qw_count.

45  groups_buffer_ = new int64_t[size_];
47  }
const int64_t const uint32_t groups_buffer_entry_count
const int64_t const uint32_t const uint32_t key_qw_count
void init_groups(int64_t *groups_buffer, const int32_t groups_buffer_entry_count, const int32_t key_qw_count, const int64_t *init_vals)
const size_t size_
int64_t * groups_buffer_
+ Here is the call graph for this function:

◆ ~GroupsBuffer()

GroupsBuffer::~GroupsBuffer ( )

Definition at line 48 of file GroupByHashTest.cpp.

48 { delete[] groups_buffer_; }
int64_t * groups_buffer_

Member Function Documentation

◆ operator int64_t *()

GroupsBuffer::operator int64_t * ( ) const

Definition at line 49 of file GroupByHashTest.cpp.

49 { return groups_buffer_; }
int64_t * groups_buffer_

◆ qw_size()

size_t GroupsBuffer::qw_size ( ) const

Definition at line 50 of file GroupByHashTest.cpp.

Referenced by TEST().

50 { return size_; }
const size_t size_
+ Here is the caller graph for this function:

Member Data Documentation

◆ groups_buffer_

int64_t* GroupsBuffer::groups_buffer_

Definition at line 53 of file GroupByHashTest.cpp.

◆ size_

const size_t GroupsBuffer::size_

Definition at line 54 of file GroupByHashTest.cpp.

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