44 for (
int i=0; i<
Sets.Count(); i++) {
54 BitArray *n =
new BitArray(nset);
57 TSTR * name =
new TSTR(setname);
58 Names.Append(1,&name);
82 while (
Sets.Count() > 0) {
89 for (
int i=0; i<
Sets.Count(); i++) {
96 for (
int i=0; i<
Sets.Count(); i++) {
102 for (i=0; i<from.
Count(); i++) {
112 for (
int i=0; i<
Names.Count(); i++) {
113 if (setname == *
Names[i]) {
125 for (
int i=0; i<
Sets.Count(); i++) {
130 isave->WriteWString(*
Names[i]);
134 Sets[i]->Save(isave);
148 while (IO_OK==(res=iload->OpenChunk())) {
150 switch (iload->CurChunkID()) {
162 if (res!=IO_OK)
return res;
176 res = iload->OpenChunk();
178 while (IO_OK==(res=iload->OpenChunk())) {
180 switch (iload->CurChunkID()) {
184 res = set.Load(iload);
191 res = iload->ReadWStringChunk(&name);
197 if (res != IO_OK)
return res;
200 assert(gotset && gotname);
IOResult Load_Set(ILoad *iload)
IOResult Save(ISave *isave)
int Find_Set(TSTR &setname)
NamedSelSetList & operator=(NamedSelSetList &from)
IOResult Load(ILoad *iload)
void Append_Set(BitArray &nset, TSTR &setname)