All Classes Functions Variables Typedefs Friends Pages
Public Member Functions | List of all members
Glympse::IVector< T > Struct Template Referenceabstract
Inheritance diagram for Glympse::IVector< T >:
Inheritance graph
[legend]

Public Member Functions

virtual void ensureCapacity (int32 capacity)=0
 
virtual void addElement (const T &o)=0
 
virtual void setElementAt (const T &o, int32 location)=0
 
virtual void insertElementAt (const T &o, int32 location)=0
 
virtual bool removeElementAt (int32 index)=0
 
virtual void removeRange (int32 start, int32 end)=0
 
virtual bool removeElement (const T &o)=0
 
virtual void removeAllElements ()=0
 
virtual bool contains (const T &o)=0
 
virtual int32 size ()=0
 
virtual bool isEmpty ()=0
 
virtual T elementAt (int32 index)=0
 
virtual T lastElement ()=0
 
virtual void sort (const typename GComparator< T >::ptr &comparator)=0
 
- Public Member Functions inherited from Glympse::IArray< T >
virtual int32 length ()=0
 Gets a number of elements in the underlying array.
 
virtual T at (int32 index)=0
 Extracts element at given index.
 
virtual GEnumeration< T >::ptr elements ()=0
 Provides standard enumeration interface.
 
virtual GArray< T >::ptr clone ()=0
 Produces shallow copy of the underlying collection.
 
- Public Member Functions inherited from Glympse::ICommon
virtual int32 retain ()=0
 Add a reference to our object in a COM-like way.
 
virtual int32 release ()=0
 Release a reference to our object in a COM-like way.
 
virtual int32 hold ()=0
 Add a reference to our object in a COM-like way.
 
virtual int32 unhold ()=0
 Release a reference to our object in a COM-like way.
 
virtual int32 hashCode ()=0
 Returns an integer hash code for this object.
 
virtual bool equals (const GCommonObj &o)=0
 Compares this instance with the specified object and indicates if they are equal. More...
 
virtual GString toString ()=0
 Returns a string containing a concise, human-readable description of this object. More...
 
virtual void attachObject (const GCommon &obj)=0
 Asociates arbitrary object with the instance.
 
virtual GCommon extractObject ()=0
 Extracts associated object or NULL if no association is established.
 

Additional Inherited Members

- Public Types inherited from Glympse::IArray< T >
typedef T Element
 Defines type of elements stored in the collection.
 
- Protected Member Functions inherited from Glympse::ICommon
virtual ~ICommon ()
 Destructor is protected to deny explicit object deallocation. More...
 

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