helayers::HelibCkksPlaintext Class Reference
Concrete implementation of AbstractPlaintext API for HElib's CKKS scheme. More...
#include <HelibCkksPlaintext.h>
Inheritance diagram for helayers::HelibCkksPlaintext:

Public Member Functions | |
HelibCkksPlaintext (HelibCkksContext &h) | |
A constructor. | |
std::shared_ptr< HelibCkksPlaintext > clone () const | |
Copies this HelibCkksPlaintext and returns a pointer to the new copied object as shared_ptr<HelibCkksPlaintext>. | |
std::streamoff save (std::ostream &stream) const override | |
Saves this HelibCkksPlaintext to the receieved binary stream. More... | |
std::streamoff load (std::istream &stream) override | |
Loads this HelibCkksPlaintext from the receieved binary stream. More... | |
void reduceChainIndex () override | |
This function has no effect in this implementation of plaintext. | |
void setChainIndex (const AbstractPlaintext &other) override | |
This function has no effect in this implementation of plaintext. | |
void setChainIndex (int chainIndex) override | |
This function has no effect in this implementation of plaintext. | |
int getChainIndex () const override | |
Returns an arbitrary value. | |
int slotCount () const override | |
Returns the number of slots of this plaintext. | |
const helib::Ptxt< helib::CKKS > & getPlaintext () const | |
Returns the internal plaintext object of the underlying Helib CKKS scheme. | |
const helib::Ptxt< helib::CKKS > & getRaw () const | |
Returns the internal plaintext object of the underlying Helib CKKS scheme. | |
![]() | |
AbstractPlaintext (HeContext &he) | |
AbstractPlaintext & operator= (const AbstractPlaintext &src)=delete | |
std::shared_ptr< AbstractPlaintext > clone () const | |
HeContext & getContext () | |
const HeContext & getContext () const | |
virtual void debugPrint (const std::string &title="", int maxElements=-1, int verbose=0, std::ostream &out=std::cout) const | |
Friends | |
class HelibCkksEncoder | |
Additional Inherited Members | |
![]() | |
AbstractPlaintext (const AbstractPlaintext &src)=default | |
Detailed Description
Concrete implementation of AbstractPlaintext API for HElib's CKKS scheme.
Member Function Documentation
◆ load()
|
overridevirtual |
Loads this HelibCkksPlaintext from the receieved binary stream.
- Parameters
-
stream The binary stream to load from.
Implements helayers::AbstractPlaintext.
◆ save()
|
overridevirtual |
Saves this HelibCkksPlaintext to the receieved binary stream.
- Parameters
-
stream The binary stream to save to.
Implements helayers::AbstractPlaintext.
The documentation for this class was generated from the following files:
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/helib/HelibCkksPlaintext.h
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/helib/HelibCkksPlaintext.cpp