SecBlock< T, A > Class Template Reference

#include <secblock.h>

Inheritance diagram for SecBlock< T, A >:

FixedSizeSecBlock< T, S, A > SecBlockWithHint< T, S, 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 213 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 (size_type size=0)
 SecBlock (const SecBlock< T, A > &t)
 SecBlock (const T *t, size_type len)
 ~SecBlock ()
 operator const void * () const
 operator void * ()
 operator const T * () const
 operator T * ()
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
size_type SizeInBytes () const
void Assign (const T *t, size_type len)
void Assign (const SecBlock< T, A > &t)
SecBlock< T, A > & operator= (const SecBlock< T, A > &t)
SecBlock< T, A > & operator+= (const SecBlock< T, A > &t)
SecBlock< T, A > operator+ (const SecBlock< T, A > &t)
bool operator== (const SecBlock< T, A > &t) const
bool operator!= (const SecBlock< T, A > &t) const
void New (size_type newSize)
void CleanNew (size_type newSize)
void Grow (size_type newSize)
void CleanGrow (size_type newSize)
void resize (size_type newSize)
void swap (SecBlock< T, A > &b)

Public Attributes

m_alloc
size_type m_size
T * m_ptr


The documentation for this class was generated from the following file:
Generated on Sat Dec 23 02:07:33 2006 for Crypto++ by  doxygen 1.5.1-p1