SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
Public Member Functions | Protected Member Functions | List of all members
ArrayType< T > Class Template Referenceabstract

An abstract class, representing all the array-like data types. More...

#include <types_basic.hpp>

Inheritance diagram for ArrayType< T >:
Inheritance graph
Collaboration diagram for ArrayType< T >:
Collaboration graph

Public Member Functions

virtual ~ArrayType ()
 Empty destructor.
 
virtual size_t length () const =0
 Returns number of elements in the container.
 
virtual size_t size () const =0
 Returns the size of the contained data (i.e. length * sizeof(T))
 
virtual void fill (T val)=0
 Fills the container with the 'val'.
 
virtual T * data ()=0
 Returns a pointer to the contained data.
 
virtual const T * data () const =0
 Returns a const pointer to the contained data.
 
- Public Member Functions inherited from DataType
virtual ~DataType ()
 Empty destructor.
 

Protected Member Functions

 ArrayType ()
 Protected constructor.
 
- Protected Member Functions inherited from DataType
 DataType ()
 Protected constructor.
 

Detailed Description

template<class T>
class ArrayType< T >

An abstract class, representing all the array-like data types.


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