GtkFC API Reference version 0.1.0

Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Examples  

Gset Class Reference

#include <Gset.h>

Inheritance diagram for Gset:

Gobject Ghash GlistSet Gvector List of all members.

Public Methods

virtual void Add (Gobject *o)=0
virtual void Remove (Gobject *o)=0
virtual bool Contains (Gobject *o)=0
virtual GiteratorGetIterator ()=0
virtual int Length ()=0

Detailed Description

A Gset is an abstract class used to manipulate collection such as lists or tree. In the set, objects are not duplicated. Because Gset is a destructive collection, all object are killed with the Gobject::Kill method.
See also:
Gobject for the kill method
Author(s):
Thibaut Nicolas
Version:
0.1.0


Member Function Documentation

void Gset::Add ( Gobject * o ) [pure virtual]
 

Add an object to the set

Reimplemented in Ghash, GlistSet, and Gvector.

bool Gset::Contains ( Gobject * o ) [pure virtual]
 

Return true if the set contains the object

Reimplemented in Ghash, and Gvector.

Giterator * Gset::GetIterator ( ) [pure virtual]
 

Obtain an iterator for the set

Reimplemented in Ghash, and Gvector.

int Gset::Length ( ) [pure virtual]
 

Return the size in elements of the set.

Reimplemented in Ghash, and Gvector.

void Gset::Remove ( Gobject * o ) [pure virtual]
 

Remove an object from the set

Reimplemented in Ghash, and Gvector.


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

Copyright © 2002 Thibaut Nicolas
Last modified  lun sep 23 23:41:26 EDT 2002