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

UserCompress.hpp File Reference

#include "MemStreamer.hpp"

Go to the source code of this file.

Compounds

class  UserCompressorFactory

Functions

char * ParseString (char *from, char *to)
char * SkipWhiteSpaces (char *ptr, char *endptr)

Variables

MemStreamer mainmem


Function Documentation

char* ParseString char *    from,
char *    to
[inline]
 

Definition at line 218 of file UserCompress.hpp.

00219 {
00220    if(*from!='"')
00221       return NULL;
00222 
00223    from++;
00224 
00225    while(from<to)
00226    {
00227       if(*from=='"')
00228          return from;
00229       from++;
00230    }
00231 
00232    Error("String constant \"...\" expected instead of '");
00233    ErrorCont(from,to-from);
00234    Exit();
00235    return NULL;
00236 }

char* SkipWhiteSpaces char *    ptr,
char *    endptr
[inline]
 

Definition at line 238 of file UserCompress.hpp.

00242 {
00243    while((ptr<endptr)&&
00244          ((*ptr==' ')||(*ptr==',')||(*ptr=='\t')||(*ptr=='\r')||(*ptr=='\n')))
00245 
00246       ptr++;
00247 
00248    return ptr;
00249 }


Variable Documentation

MemStreamer mainmem
 

Definition at line 56 of file UserCompress.hpp.


Generated on Sat Oct 13 16:08:50 2001 for XMILL by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001