#include <bytevector.h>
Public Member Functions | |
ByteVector (void) | |
template<unsigned int bytes> | |
ByteVector< _bytecount_ > & | operator= (const ByteVector< bytes > &vec) |
ByteVector< _bytecount_ > & | operator= (const ByteVector< _bytecount_ > &rhs) |
Byte & | operator[] (int index) throw (OutOfRangeException<int>) |
const Byte & | operator[] (int index) const throw (OutOfRangeException<int>) |
seal::Byte
. The template argument of this template class denotes the size of the byte vector. For example, a ByteVector of size 7 is an object which is a vector 7 seal::Byte
objects. seal::ByteVector< _bytecount_ >::ByteVector | ( | void | ) | [inline] |
Default constructor which instantiates a ByteVector
with size as specified through the template argument.
ByteVector< _bytecount_ > & seal::ByteVector< _bytecount_ >::operator= | ( | const ByteVector< bytes > & | vec | ) | [inline] |
Assignment operator which handles the assignment with other ByteVector
objects of different size in the RHS.
ByteVector< _bytecount_ > & seal::ByteVector< _bytecount_ >::operator= | ( | const ByteVector< _bytecount_ > & | rhs | ) | [inline] |
Assignment operator which handles the assignment with other ByteVector
objects of the same size in the RHS.
Byte& seal::ByteVector< _bytecount_ >::operator[] | ( | int | index | ) | throw (OutOfRangeException<int>) [inline] |
Byte indexing operator. A user can access individual bytes of the vector through this operator.
const Byte& seal::ByteVector< _bytecount_ >::operator[] | ( | int | index | ) | const throw (OutOfRangeException<int>) [inline] |
Byte indexing operator. A user can access individual bytes of the vector through this operator.