# Methods

`-addObject:`
  Adds a object to the set. This object must implement NSCoding.
`-closeDB`
  closes the underlying database. After this call the object may not be used any more.
`-containsObject:`
  This is an expensive operation at present
`-count`
  Expensive operation used to determine the number of elements in this set
`-createDBUsingDataFile:`
  Creates a persistent set using the specified file name as data file
`-iterator`
  Returns an iterator over all members of this set. This is an expensive operation at present
`-openDBUsingDataFile:`
  Opens a persistent set using the specified file name as data file. Call failes if file does not exist.
`-removeObject:`
  removes the specified object from the set. Operation is ignored the object could no be found within the set.

### addObject:

Adds a object to the set. This object must implement NSCoding.

>     - addObject: (id) anObject

method result
  self

### closeDB

closes the underlying database. After this call the object may not be used any more.

>     - (void) closeDB;

### containsObject:

This is an expensive operation at present

>     - (BOOL) containsObject: (id) anObject;

method result
  YES if the specified object is to be found in the set.

### count

Expensive operation used to determine the number of elements in this set

>     - (unsigned) count;

method result
  number of elements in the current set

### createDBUsingDataFile:

Creates a persistent set using the specified file name as data file

>     - createDBUsingDataFile: (NSString *) aFilename;

##### Parameter Descriptions

> `aFilename`
>   fully qualified name of datafile to use for the set

method result
  self

### iterator

Returns an iterator over all members of this set. This is an expensive operation at present

>     - (id <ECIterator>) iterator;

method result
  iterator over all elements of the set

### openDBUsingDataFile:

Opens a persistent set using the specified file name as data file. Call failes if file does not exist.

>     - openDBUsingDataFile: (NSString *) aFilename;

##### Parameter Descriptions

> `aFilename`
>   fully qualified name of datafile to use for the set

method result
  self

### removeObject:

removes the specified object from the set. Operation is ignored the object could no be found within the set.

>     - removeObject: (id) anObject;

method result
  self

(Last Updated August 27, 2006)