ISLEman
Public Member Functions | List of all members
QVector< type > Class Template Reference
Inheritance diagram for QVector< type >:
QGVector QCollection QStrVec QStrIVec

Public Member Functions

 QVector (uint size)
 
 QVector (const QVector< type > &v)
 
QVector< type > & operator= (const QVector< type > &v)
 
type ** data () const
 
uint size () const
 
uint count () const
 
bool isEmpty () const
 
bool isNull () const
 
bool resize (uint size)
 
bool insert (uint i, const type *d)
 
bool remove (uint i)
 
type * take (uint i)
 
void clear ()
 
bool fill (const type *d, int size=-1)
 
void sort ()
 
int bsearch (const type *d) const
 
int findRef (const type *d, uint i=0) const
 
int find (const type *d, uint i=0) const
 
uint containsRef (const type *d) const
 
uint contains (const type *d) const
 
type * operator[] (int i) const
 
type * at (uint i) const
 
void toList (QGList *list) const
 
- Public Member Functions inherited from QGVector
QDataStreamread (QDataStream &)
 
QDataStreamwrite (QDataStream &) const
 
virtual int compareItems (Item, Item)
 
- Public Member Functions inherited from QCollection
bool autoDelete () const
 
void setAutoDelete (bool enable)
 

Additional Inherited Members

- Public Types inherited from QCollection
typedef void * Item
 
- Protected Member Functions inherited from QGVector
 QGVector (uint size)
 
 QGVector (const QGVector &v)
 
QGVectoroperator= (const QGVector &v)
 
Item * data () const
 
uint size () const
 
bool insert (uint index, Item)
 
bool remove (uint index)
 
Item take (uint index)
 
bool resize (uint newsize)
 
bool fill (Item, int flen)
 
void sort ()
 
int bsearch (Item) const
 
int findRef (Item, uint index) const
 
int find (Item, uint index) const
 
uint containsRef (Item) const
 
uint contains (Item) const
 
Item at (uint index) const
 
bool insertExpand (uint index, Item)
 
void toList (QGList *) const
 
virtual QDataStreamread (QDataStream &, Item &)
 
virtual QDataStreamwrite (QDataStream &, Item) const
 
- Protected Member Functions inherited from QCollection
 QCollection ()
 
 QCollection (const QCollection &)
 
virtual ~QCollection ()
 
virtual Item newItem (Item)
 
- Protected Attributes inherited from QCollection
bool del_item
 

Member Function Documentation

§ clear()

template<class type>
void QVector< type >::clear ( )
inlinevirtual

Removes all objects from the collection. The objects will be deleted if auto-delete has been enabled.

See also
setAutoDelete()

Reimplemented from QGVector.

§ count()

template<class type>
uint QVector< type >::count ( ) const
inlinevirtual

Returns the number of objects in the collection.

Reimplemented from QGVector.


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