seal::ByteVector< _bytecount_ > Class Template Reference

#include <bytevector.h>

List of all members.

Public Member Functions

 ByteVector (void)
template<unsigned int bytes>
ByteVector< _bytecount_ > & operator= (const ByteVector< bytes > &vec)
ByteVector< _bytecount_ > & operator= (const ByteVector< _bytecount_ > &rhs)
Byteoperator[] (int index) throw (OutOfRangeException<int>)
const Byteoperator[] (int index) const throw (OutOfRangeException<int>)


Detailed Description

template<unsigned int _bytecount_>
class seal::ByteVector< _bytecount_ >

This class encapsulates a non-resizeable vector of bytes. Each byte is a data element as defined by the typedef 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.

Constructor & Destructor Documentation

template<unsigned int _bytecount_>
seal::ByteVector< _bytecount_ >::ByteVector ( void   )  [inline]

Default constructor which instantiates a ByteVector with size as specified through the template argument.


Member Function Documentation

template<unsigned int _bytecount_>
template<unsigned int bytes>
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.

template<unsigned int _bytecount_>
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.

template<unsigned int _bytecount_>
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.

template<unsigned int _bytecount_>
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.


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

Generated on Sat May 16 21:35:20 2009 for SEAL by  doxygen 1.5.5