Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

SecBlock< T, A > Class Template Reference

#include <secblock.h>

Inheritance diagram for SecBlock< T, A >:

List of all members.

Detailed Description

template<class T, class A = AllocatorWithCleanup<T>>
class SecBlock< T, A >

a block of memory allocated using A

Definition at line 203 of file secblock.h.

Public Types

typedef A::value_type value_type
typedef A::pointer iterator
typedef A::const_pointer const_iterator
typedef A::size_type size_type

Public Member Functions

 SecBlock (unsigned int size=0)
 SecBlock (const SecBlock< T, A > &t)
 SecBlock (const T *t, unsigned int len)
 operator const void * () const
 operator void * ()
 operator const T * () const
 operator T * ()
template<typename I>
T * operator+ (I offset)
template<typename I>
const T * operator+ (I offset) const
template<typename I>
T & operator[] (I index)
template<typename I>
const T & operator[] (I index) const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
A::pointer data ()
A::const_pointer data () const
size_type size () const
bool empty () const
void Assign (const T *t, unsigned int len)
void Assign (const SecBlock< T, A > &t)
SecBlockoperator= (const SecBlock< T, A > &t)
bool operator== (const SecBlock< T, A > &t) const
bool operator!= (const SecBlock< T, A > &t) const
void New (unsigned int newSize)
void CleanNew (unsigned int newSize)
void Grow (unsigned int newSize)
void CleanGrow (unsigned int newSize)
void resize (unsigned int newSize)
void swap (SecBlock< T, A > &b)

Public Attributes

m_alloc
unsigned int m_size
T * m_ptr


The documentation for this class was generated from the following file:
Generated on Tue Oct 26 18:51:52 2004 for Crypto++ by  doxygen 1.3.9.1