Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

OrSepCompressorInfo Struct Reference

List of all members.

Public Methods

void CreateSubCompressors (char *paramstr, int len)

Public Attributes

OrCompressorItemsubcompressors

Member Function Documentation

void OrSepCompressorInfo::CreateSubCompressors char *    paramstr,
int    len
[inline]
 

Definition at line 67 of file OrCompress.cpp.

00070    {
00071       OrCompressorItem **curitemref;
00072 
00073       char  *ptr=paramstr;
00074       char  *endptr=paramstr+len;
00075 
00076       subcompressors=NULL;
00077 
00078       curitemref=&subcompressors;
00079       
00080       while(ptr<endptr)
00081       {
00082          if((*ptr==' ')||(*ptr==',')||(*ptr=='\t')||(*ptr=='\r')||(*ptr=='\n'))
00083          {
00084             ptr++;
00085             continue;
00086          }
00087 
00088          *curitemref=new OrCompressorItem();
00089 
00090          // For compression, we create compressors
00091          // For decompression, we create decompressors
00092 #ifdef XMILL
00093          (*curitemref)->usercompressor=compressman.CreateCompressorInstance(ptr,endptr);
00094 #endif
00095 #ifdef XDEMILL
00096          (*curitemref)->useruncompressor=compressman.CreateUncompressorInstance(ptr,endptr);
00097 #endif
00098          // Pointer 'ptr' is moved forward by the previous functions
00099 
00100          (*curitemref)->next=NULL;
00101 
00102          curitemref=&((*curitemref)->next);
00103       }
00104    }


Member Data Documentation

OrCompressorItem* OrSepCompressorInfo::subcompressors
 

Definition at line 65 of file OrCompress.cpp.


The documentation for this struct was generated from the following file:
Generated on Sat Oct 13 16:08:54 2001 for XMILL by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001