Open-Transactions  0.93.0-ge03d287
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
opentxs::OTDB::PackedBuffer Class Referenceabstract

#include <OTStorage.hpp>

Public Member Functions

virtual ~PackedBuffer ()
 
virtual bool PackString (std::string &theString)=0
 
virtual bool UnpackString (std::string &theString)=0
 
virtual bool ReadFromIStream (std::istream &inStream, int64_t lFilesize)=0
 
virtual bool WriteToOStream (std::ostream &outStream)=0
 
virtual const uint8_t * GetData ()=0
 
virtual size_t GetSize ()=0
 
virtual void SetData (const uint8_t *pData, size_t theSize)=0
 

Protected Member Functions

 PackedBuffer ()
 

Detailed Description

Definition at line 469 of file OTStorage.hpp.

Constructor & Destructor Documentation

opentxs::OTDB::PackedBuffer::PackedBuffer ( )
inlineprotected

Definition at line 472 of file OTStorage.hpp.

473  {
474  } // Only subclasses of this should be instantiated.
virtual opentxs::OTDB::PackedBuffer::~PackedBuffer ( )
inlinevirtual

Definition at line 476 of file OTStorage.hpp.

477  {
478  }

Member Function Documentation

virtual const uint8_t* opentxs::OTDB::PackedBuffer::GetData ( )
pure virtual
virtual size_t opentxs::OTDB::PackedBuffer::GetSize ( )
pure virtual
virtual bool opentxs::OTDB::PackedBuffer::PackString ( std::string &  theString)
pure virtual
virtual bool opentxs::OTDB::PackedBuffer::ReadFromIStream ( std::istream &  inStream,
int64_t  lFilesize 
)
pure virtual
virtual void opentxs::OTDB::PackedBuffer::SetData ( const uint8_t *  pData,
size_t  theSize 
)
pure virtual
virtual bool opentxs::OTDB::PackedBuffer::UnpackString ( std::string &  theString)
pure virtual
virtual bool opentxs::OTDB::PackedBuffer::WriteToOStream ( std::ostream &  outStream)
pure virtual

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