ABY Framework
1.0
Arithmetic Bool Yao Framework
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
src
abycore
util
circular_queue.h
Go to the documentation of this file.
1
19
#ifndef __CQUEUE__
20
#define __CQUEUE__
21
22
#include "
typedefs.h
"
23
class
CQueue
{
24
private
:
25
int
queuesize;
26
int
head;
27
int
tail;
28
int
* queue;
29
public
:
30
CQueue
(
int
maxsize);
31
~
CQueue
() {
32
if
(queue)
33
free(queue);
34
}
35
;
36
void
enq(
int
ele);
37
int
deq();
38
int
size();
39
40
};
41
42
#endif
CQueue
Definition:
circular_queue.h:23
typedefs.h
Typedefs Implementation.
Generated on Fri Jun 26 2015 16:45:52 for ABY Framework by
1.8.8