FX::QMemArray< type, allocator > Class Template Reference
[Qt Template Library]

#include <qmemarray.h>

Inheritance diagram for FX::QMemArray< type, allocator >:

List of all members.

Detailed Description

template<typename type, class allocator>
class FX::QMemArray< type, allocator >

A thunk of Qt's QMemArray to the STL.

To aid porting of Qt programs to FOX.

Note that the following are not quite the same:

Definition at line 59 of file qmemarray.h.

Public Types

typedef type * Iterator
typedef type * iterator
typedef const type * ConstIterator
typedef const type * const_iterator
typedef type ValueType

Public Member Functions

 QMemArray ()
 ~QMemArray ()
 QMemArray (FXuval size)
 QMemArray (type *a, FXuval n, bool _noDeleteExtArray=true)
 QMemArray (const QMemArray< type, allocator > &o)
QMemArray< type, allocator > & operator= (const QMemArray< type, allocator > &o)
type * data () const
 operator const type * () const
FXuval size () const
FXuval count () const
bool isEmpty () const
bool isNull () const
bool resize (FXuval size)
bool resize (FXuval size, QGArray::Optimization optim)
bool truncate (FXuval pos)
void swap (QMemArray< type, allocator > &o)
bool fill (const type &val, int newsize=-1)
FXDEPRECATEDEXT void detach ()
FXDEPRECATEDEXT QMemArray<
type, allocator > 
copy () const
FXDEPRECATEDEXT QMemArray<
type, allocator > & 
assign (const QMemArray< type, allocator > &o)
FXDEPRECATEDEXT QMemArray<
type, allocator > & 
assign (const type *a, FXuval n)
FXDEPRECATEDEXT QMemArray<
type, allocator > & 
duplicate (const QMemArray< type, allocator > &o)
FXDEPRECATEDEXT QMemArray<
type, allocator > & 
duplicate (const type *a, FXuval n)
QMemArray< type, allocator > & setRawData (const type *a, FXuval n, bool _noDeleteExtArray=false)
void resetRawData (const type *a, FXuval n)
FXival find (const type &val, FXuval i=0) const
FXival contains (const type &val) const
void sort ()
int bsearch (const type &val) const
type & at (FXuval i) const
type & operator[] (FXuint i) const
type & operator[] (int i) const
bool operator== (const QMemArray< type, allocator > &o) const
bool operator!= (const QMemArray< type, allocator > &o) const
Iterator begin ()
Iterator end ()
ConstIterator begin () const
ConstIterator end () const
void push_back (const type &v)
void append (const type &v)


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:41 2009 for TnFOX by doxygen v1.4.7