OmniSciDB  343343d194
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( const size_t  groups_buffer_entry_count,
const size_t  key_qw_count,
const int64_t  init_val 
)
inline

Definition at line 41 of file GroupByHashTest.cpp.

References groups_buffer_, anonymous_namespace{GroupByHashTest.cpp}::init_groups(), and size_.

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 ( )
inline

Definition at line 48 of file GroupByHashTest.cpp.

References groups_buffer_.

48 { delete[] groups_buffer_; }
int64_t * groups_buffer_

Member Function Documentation

GroupsBuffer::operator int64_t * ( ) const
inline

Definition at line 49 of file GroupByHashTest.cpp.

References groups_buffer_.

49 { return groups_buffer_; }
int64_t * groups_buffer_
size_t GroupsBuffer::qw_size ( ) const
inline

Definition at line 50 of file GroupByHashTest.cpp.

References size_.

Referenced by TEST().

50 { return size_; }
const size_t size_

+ Here is the caller graph for this function:

Member Data Documentation

int64_t* GroupsBuffer::groups_buffer_
private

Definition at line 53 of file GroupByHashTest.cpp.

Referenced by GroupsBuffer(), operator int64_t *(), and ~GroupsBuffer().

const size_t GroupsBuffer::size_
private

Definition at line 54 of file GroupByHashTest.cpp.

Referenced by GroupsBuffer(), and qw_size().


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