pluto  1
Small utility library for UUIDs, SHA1, and Encryption
Public Member Functions | List of all members
plt::IDataReader< Type > Class Template Referenceabstract

Template type, input the data type that is to be encrypted. More...

#include <IDataReader.h>

Public Member Functions

virtual Type * toRAM ()=0
 places the data inside of memory More...
 
virtual void toSource (Type *source, int size)=0
 pushes data to source More...
 
virtual int getSize ()=0
 get size of data More...
 

Detailed Description

template<class Type>
class plt::IDataReader< Type >

Template type, input the data type that is to be encrypted.

The type specified in the template is the one to be encrypted the encryption is flexible and can handle any kind of data

Member Function Documentation

◆ getSize()

template<class Type >
virtual int plt::IDataReader< Type >::getSize ( )
pure virtual

get size of data

Returns
how large the data is

Implemented in plt::FileDataReader.

◆ toRAM()

template<class Type >
virtual Type* plt::IDataReader< Type >::toRAM ( )
pure virtual

places the data inside of memory

Creates a pointer to chars that contains the contents of your data

Returns
pointer to the data type you specified in the template

Implemented in plt::FileDataReader.

◆ toSource()

template<class Type >
virtual void plt::IDataReader< Type >::toSource ( Type *  source,
int  size 
)
pure virtual

pushes data to source

Takes the size and the data and puts them into the specified data type

Implemented in plt::FileDataReader.


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