Class encapsulating a set of DBMDatabase::Id.
This package is part of the DBMDatabase manpage. For more information on the database see the DBMDatabase::Overview.
Copyright ©
1997 Curtis
E. Dyreson. All rights reserved. Please be aware of
the DBMDatabase::Licence and DBMDatabase::Version.
An IdSet is a data type for columns in a database DBMDatabase::Table. An IdSet cannot be used as a key.
- A reference to a list of Ids.
Construct a Set from a list of Ids
- The string to convert from (a byte image of an IdSet or DBMDatabase::IdList).
Construct a new IdSet from a byte image of an DBMDatabase::IdList or IdSet.
- An DBMDatabase::IdList
Construct a new IdSet from an DBMDatabase::IdList (basically, convert the list to a set).
Return the number of Ids in the set.
- Check if this DBMDatabase::Id is in the set.
Returns true if it is, false otherwise.
- The DBMDatabase::Id to remove from the set.
Delete an Id from the set.
- The DBMDatabase::Id to insert.
Inserts an DBMDatabase::Id into this set.
Return an enumeration of the IdSet. OK, we have to fake it in Perl since this is a Java concept (although now that I understand hash tables I think I can do it with each). So we will return the list of values in the table. Currently, only small sets should be enumerated.
- The other DBMDatabase::IdSet.
Union this set with the other set, and update this set with the result.
- The other DBMDatabase::IdSet.
Union this set with the other set, and update this set with the result.
- The other DBMDatabase::IdSet.
Intersect this set with the other set, and return the result.
- The other DBMDatabase::IdSet.
Intersect this set with the other set, and update this set with the result.
Returns a reference to an array of Ids from the Set.
Create a formatted string of all the elements in the set
Convert to a byte array
Is this still needed? Just for requires.