MobilityDB 1.3
Loading...
Searching...
No Matches
Functions

Comparison functions for static circular buffers. More...

Functions

int cbuffer_cmp (const Cbuffer *cb1, const Cbuffer *cb2)
 Return -1, 0, or 1 depending on whether the first buffer is less than, equal to, or greater than the second one. More...
 
bool cbuffer_eq (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if the first buffer is equal to the second one. More...
 
bool cbuffer_ge (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if the first buffer is greater than or equal to the second one. More...
 
bool cbuffer_gt (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if the first buffer is greater than the second one. More...
 
bool cbuffer_le (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if the first buffer is less than or equal to the second one. More...
 
bool cbuffer_lt (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if the first buffer is less than the second one. More...
 
bool cbuffer_ne (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if the first buffer is not equal to the second one. More...
 
bool cbuffer_nsame (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if two circular buffers are approximately equal with respect to an epsilon value. More...
 
bool cbuffer_same (const Cbuffer *cb1, const Cbuffer *cb2)
 Return true if two circular buffers are approximately equal with respect to an epsilon value. More...
 

Detailed Description

Comparison functions for static circular buffers.