emp-toolkit
Batcher Class Reference

#include <batcher.h>

Public Member Functions

void add (bool *b, int length)
 
 ~Batcher ()
 
template<typename T , typename... Args>
void add (Args &&... args)
 
void to_bool (bool *b)
 
void make_semi_honest (int party, Backend *be=nullptr)
 
void set_blocks (block *b)
 
template<typename T >
next ()
 
int size ()
 

Public Attributes

vector< bool > values
 
vector< int > lens
 
int len_ptr = 0
 
blocklabels = nullptr
 
blocklabel_ptr = nullptr
 

Constructor & Destructor Documentation

§ ~Batcher()

Batcher::~Batcher ( )
inline

Member Function Documentation

§ add() [1/2]

void Batcher::add ( bool *  b,
int  length 
)
inline

§ add() [2/2]

template<typename T , typename... Args>
void Batcher::add ( Args &&...  args)
inline

§ make_semi_honest()

void Batcher::make_semi_honest ( int  party,
Backend be = nullptr 
)
inline

§ next()

template<typename T >
T Batcher::next ( )
inline

§ set_blocks()

void Batcher::set_blocks ( block b)
inline

§ size()

int Batcher::size ( )
inline

§ to_bool()

void Batcher::to_bool ( bool *  b)
inline

Member Data Documentation

§ label_ptr

block* Batcher::label_ptr = nullptr

§ labels

block* Batcher::labels = nullptr

§ len_ptr

int Batcher::len_ptr = 0

§ lens

vector<int> Batcher::lens

§ values

vector<bool> Batcher::values

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