helayers::AbstractPlaintext Class Referenceabstract

Internal abstract implementation of a plaintext, do not use directly. More...

#include <AbstractPlaintext.h>

Inheritance diagram for helayers::AbstractPlaintext:
helayers::HelibBgvPlaintext helayers::HelibCkksPlaintext

Public Member Functions

 AbstractPlaintext (HeContext &he)
 
AbstractPlaintextoperator= (const AbstractPlaintext &src)=delete
 
std::shared_ptr< AbstractPlaintextclone () const
 
HeContextgetContext ()
 
virtual std::streamoff save (std::ostream &stream) const =0
 
virtual std::streamoff load (std::istream &stream)=0
 
const HeContextgetContext () const
 
virtual void reduceChainIndex ()=0
 
virtual void setChainIndex (const AbstractPlaintext &other)=0
 
virtual void setChainIndex (int chainIndex)=0
 
virtual int getChainIndex () const =0
 
virtual int slotCount () const =0
 
virtual void debugPrint (const std::string &title="", int maxElements=-1, int verbose=0, std::ostream &out=std::cout) const
 

Protected Member Functions

 AbstractPlaintext (const AbstractPlaintext &src)=default
 

Detailed Description

Internal abstract implementation of a plaintext, do not use directly.

Used as parent class for concrete classes implementing plaintexts in various schemes. Do not use directly, use a PTile class instead.


The documentation for this class was generated from the following files:
  • /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/impl/AbstractPlaintext.h
  • /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/impl/AbstractPlaintext.cpp