PartitionBounds Class Reference

#include <ArrayClass.hpp>

Public Types

enum  { SmallRange = 10 }
 

Public Member Functions

 PartitionBounds (size_t l, size_t r)
 
 PartitionBounds ()
 
bool isSmall ()
 
size_t midPoint ()
 

Public Attributes

size_t left
 
size_t right
 

Detailed Description

Definition at line 67 of file ArrayClass.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SmallRange 

Definition at line 69 of file ArrayClass.hpp.

Constructor & Destructor Documentation

◆ PartitionBounds() [1/2]

PartitionBounds::PartitionBounds ( size_t  l,
size_t  r 
)
inline

Definition at line 73 of file ArrayClass.hpp.

◆ PartitionBounds() [2/2]

PartitionBounds::PartitionBounds ( )
inline

Definition at line 74 of file ArrayClass.hpp.

Member Function Documentation

◆ isSmall()

bool PartitionBounds::isSmall ( )
inline

Definition at line 76 of file ArrayClass.hpp.

References left, right, and SmallRange.

◆ midPoint()

size_t PartitionBounds::midPoint ( )
inline

Definition at line 77 of file ArrayClass.hpp.

References left, and right.

Member Data Documentation

◆ left

size_t PartitionBounds::left

Definition at line 79 of file ArrayClass.hpp.

Referenced by isSmall(), and midPoint().

◆ right

size_t PartitionBounds::right

Definition at line 80 of file ArrayClass.hpp.

Referenced by isSmall(), and midPoint().


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