Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXVariantArray Class Reference

Array of variants. More...

#include <FXVariantArray.h>

Inheritance diagram for FX::FXVariantArray:
FX::FXArray< FXVariant > FX::FXArrayBase

List of all members.

Public Member Functions

 FXVariantArray ()
 Construct an array.
 FXVariantArray (FXival n)
 Allocate array of n elements.
 FXVariantArray (const FXVariantArray &other)
 Construct from another array.
 FXVariantArray (const FXVariant &src, FXival n)
 Allocate initialized with n copies of object.
 FXVariantArray (const FXVariant *src, FXival n)
 Allocate initialized with array of n objects.
 ~FXVariantArray ()
 Destructor.
- Public Member Functions inherited from FX::FXArray< FXVariant >
 FXArray ()
 Allocate initially empty array.
 FXArray (FXival n)
 Allocate array of n elements.
 FXArray (const FXArray< FXVariant > &src)
 Allocate array copied from another.
 FXArray (const FXVariant &src, FXival n)
 Allocate initialized with n copies of object.
 FXArray (const FXVariant *src, FXival n)
 Allocate initialized with array of n objects.
FXival no () const
 Return number of items.
FXbool no (FXival n)
 Change number of elements in array to n.
FXArray< FXVariant > & operator= (const FXArray< FXVariant > &src)
 Assign from another array.
FXVariantdata ()
 Return pointer to array.
const FXVariantdata () const
FXVariantoperator[] (FXival i)
 Index into array.
const FXVariantoperator[] (FXival i) const
FXVariantat (FXival i)
 Index into array.
const FXVariantat (FXival i) const
FXVarianthead ()
 First element in array.
const FXVarianthead () const
FXVarianttail ()
 Last element in array.
const FXVarianttail () const
FXArray< FXVariant > & adopt (FXArray< FXVariant > &src)
 Adopt array from another one; the other array becomes empty.
FXbool assign (const FXVariant &src)
 Assign object p to array.
FXbool assign (const FXVariant &src, FXival n)
 Assign n copies of object to array.
FXbool assign (const FXVariant *src, FXival n)
 Assign n objects to list.
FXbool assign (const FXArray< FXVariant > &src)
 Assign n objects to list.
FXbool insert (FXival pos, const FXVariant &src)
 Insert an object.
FXbool insert (FXival pos, const FXVariant &src, FXival n)
 Insert n copies of object at specified position.
FXbool insert (FXival pos, const FXVariant *src, FXival n)
 Insert n objects at specified position.
FXbool insert (FXival pos, const FXArray< FXVariant > &src)
 Insert n objects at specified position.
FXbool prepend (const FXVariant &src)
 Prepend object.
FXbool prepend (const FXVariant &src, FXival n)
 Prepend n copies of object.
FXbool prepend (const FXVariant *src, FXival n)
 Prepend n objects.
FXbool prepend (const FXArray< FXVariant > &src)
 Prepend n objects.
FXbool append (const FXVariant &src)
 Append object.
FXbool append (const FXVariant &src, FXival n)
 Append n copies of object.
FXbool append (const FXVariant *src, FXival n)
 Append n objects.
FXbool append (const FXArray< FXVariant > &src)
 Append n objects.
FXbool replace (FXival pos, const FXVariant &src)
 Replace an object by other object.
FXbool replace (FXival pos, FXival m, const FXVariant &src, FXival n)
 Replace the m objects at pos with n copies of other object.
FXbool replace (FXival pos, FXival m, const FXVariant *src, FXival n)
 Replace m objects at pos by n other objects.
FXbool replace (FXival pos, FXival m, const FXArray< FXVariant > &src)
 Replace m objects at pos by other objects.
FXbool erase (FXival pos)
 Remove object at pos.
FXbool erase (FXival pos, FXival n)
 Remove n objects starting at pos.
FXbool push (const FXVariant &src)
 Push object to end.
FXbool pop ()
 Pop object from end.
void clear ()
 Remove all objects.
 ~FXArray ()
 Delete data.

Detailed Description

Array of variants.


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

Copyright © 1997-2016 Jeroen van der Zijp