All Classes Functions Variables Typedefs Friends Pages
Public Types | Public Member Functions | List of all members
Glympse::IList< T > Struct Template Referenceabstract

Provides immutable access to list container with support for range-based enumeration. More...

#include <IList.h>

Inheritance diagram for Glympse::IList< T >:
Inheritance graph
[legend]

Public Types

typedef T Element
 Defines type of elements stored in the collection.
 

Public Member Functions

virtual int32 length ()=0
 Gets a number of elements in the underlying list.
 
virtual T getFirst ()=0
 Gets the first element.
 
virtual T getLast ()=0
 Gets the last element.
 
virtual GEnumeration< T >::ptr elements ()=0
 Provides forward enumeration interface.
 
virtual GEnumeration< T >::ptr elementsReversed ()=0
 Provides backward enumeration interface.
 
virtual GList< 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

- Protected Member Functions inherited from Glympse::ICommon
virtual ~ICommon ()
 Destructor is protected to deny explicit object deallocation. More...
 

Detailed Description

template<class T>
struct Glympse::IList< T >

Provides immutable access to list container with support for range-based enumeration.


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