Updated logging in ITAppleEventCenter, and I think I fixed the malloc
[ITFoundation.git] / ITStringScanner.h
1 /*
2  *      ITFoundation
3  *      ITStringScanner
4  *        A super-fast replacement for NSScanner
5  *
6  *      Original Author : Alexander Strange <alexander.strange@ithinksw.com>
7  *   Responsibility : Matt Judy <mjudy@ithinksw.com>
8  *   Responsibility : Alexander Strange <alexander.strange@ithinksw.com>
9  *
10  *      Copyright (c) 2002 - 2003 iThink Software.
11  *      All Rights Reserved
12  *
13  */
14
15 #import <Foundation/Foundation.h>
16 #import <stdlib.h>
17
18 /*!
19 @class ITStringScanner
20 @discussion A super-fast replacement for NSScanner
21 */
22
23 @interface ITStringScanner : NSObject {
24     NSString *_string;
25     char *_cString;
26     size_t _currentPosition;
27     size_t _size;
28 }
29 - (id)initWithString:(NSString*)string;
30 - (NSString *)scanUpToCharacter:(char)character;
31 - (NSString *)scanUpToString:(NSString*)string;
32 @end