Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes

QListData Struct Reference

Search for all occurrences

Detailed Description

Definition at line 67 of file qlist.h.

#include <qlist.h>

List of all members.

Classes

struct   Data

Public Types

enum   { DataHeaderSize = sizeof(Data) - sizeof(void *) }

Public Member Functions

Data detach (int alloc)
Data detach_grow (int *i, int n)
Data detach ()
Data detach2 ()
Data detach3 ()
void  realloc (int alloc)
void **  erase (void **xi)
void **  append (int n)
void **  append ()
void **  append (const QListData &l)
void **  append2 (const QListData &l)
void **  prepend ()
void **  insert (int i)
void  remove (int i)
void  remove (int i, int n)
void  move (int from, int to)
int  size () const
bool  isEmpty () const
void **  at (int i) const
void **  begin () const
void **  end () const

Public Attributes

Data d

Static Public Attributes

static Data  shared_null

Member Enumeration Documentation

anonymous enum
Enumerator:
DataHeaderSize 

Definition at line 74 of file qlist.h.

{ DataHeaderSize = sizeof(Data) - sizeof(void *) };

Member Function Documentation

Data* detach ( int  alloc )
Data* detach_grow ( int *  i,
int  n 
)
Data* detach ( )
Data* detach2 ( )
Data* detach3 ( )
void realloc ( int  alloc )
void** erase ( void **  xi )
void** append ( int  n )
void** append ( )
void** append ( const QListData l )
void** append2 ( const QListData l )
void** prepend ( )
void** insert ( int  i )
void remove ( int  i )
void remove ( int  i,
int  n 
)
void move ( int  from,
int  to 
)
int size ( ) const [inline]

Definition at line 94 of file qlist.h.

{ return d->end - d->begin; }
bool isEmpty ( ) const [inline]

Definition at line 95 of file qlist.h.

{ return d->end  == d->begin; }
void** at ( int  i ) const [inline]

Definition at line 96 of file qlist.h.

{ return d->array + d->begin + i; }
void** begin ( ) const [inline]

Definition at line 97 of file qlist.h.

{ return d->array + d->begin; }
void** end ( ) const [inline]

Definition at line 98 of file qlist.h.

{ return d->array + d->end; }

Member Data Documentation

Data shared_null [static]

Definition at line 82 of file qlist.h.

Data* d

Definition at line 83 of file qlist.h.


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