HEaaN
Crypto Lab's great homomorphic encryption library
Public Member Functions | Private Attributes | List of all members
HEaaN::Device Class Reference

#include <Device.hpp>

Public Member Functions

constexpr Device (const DeviceType type)
 
constexpr Device (const DeviceType type, int device_id)
 
constexpr DeviceType type () const
 
constexpr int id () const
 
constexpr bool operator== (const Device &other) const
 
constexpr bool operator!= (const Device &other) const
 
constexpr bool operator< (const Device &other) const
 

Private Attributes

DeviceType type_
 
int device_id_
 

Constructor & Destructor Documentation

◆ Device() [1/2]

constexpr HEaaN::Device::Device ( const DeviceType  type)
inlineconstexpr

◆ Device() [2/2]

constexpr HEaaN::Device::Device ( const DeviceType  type,
int  device_id 
)
inlineexplicitconstexpr

Member Function Documentation

◆ id()

constexpr int HEaaN::Device::id ( ) const
inlineconstexpr

◆ operator!=()

constexpr bool HEaaN::Device::operator!= ( const Device other) const
inlineconstexpr

◆ operator<()

constexpr bool HEaaN::Device::operator< ( const Device other) const
inlineconstexpr

◆ operator==()

constexpr bool HEaaN::Device::operator== ( const Device other) const
inlineconstexpr

◆ type()

constexpr DeviceType HEaaN::Device::type ( ) const
inlineconstexpr

Member Data Documentation

◆ device_id_

int HEaaN::Device::device_id_
private

◆ type_

DeviceType HEaaN::Device::type_
private

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