IntegerArray.h
author Jens Alfke <jens@mooseyard.com>
Sun Jul 13 10:45:42 2008 -0700 (2008-07-13)
changeset 16 ce9c83f7ec14
permissions -rw-r--r--
* Minor fixes to glitches detected by the clang static analyzer.
* Added MYAnimatingSplitView class.
     1 //
     2 //  IntegerArray.h
     3 //  Cloudy
     4 //
     5 //  Created by Jens Alfke on 6/23/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //
     8 
     9 #import <Cocoa/Cocoa.h>
    10 
    11 
    12 @interface IntegerArray : NSObject {
    13     NSMutableData *_storage;
    14     SInt32 *_integers;
    15     NSUInteger _count;
    16 }
    17 
    18 - (NSUInteger)count;
    19 - (const SInt32*) allIntegers;
    20 
    21 - (SInt32) integerAtIndex: (NSUInteger)index;
    22 - (void) setInteger: (SInt32)value atIndex: (NSUInteger)index;
    23 - (void) addInteger: (SInt32)value;
    24 
    25 @end