EDBitmapCharset


Declared In:
EDBitmapCharset.h



Defined Types

Synopsis:

typedef struct
{    
    const byte *bytes;
    NSData *bitmapRep;
} EDBitmapCharset;

Description:

The datastructure behind EDBitmapCharsets. Use these instead of NSCharacterSet objects when you need a lot of contains tests; and you want them to be as fast as possible.


Functions

Synopsis:

EDBitmapCharset *EDBitmapCharsetFromCharacterSet(NSCharacterSet *charset);
void EDReleaseBitmapCharset(EDBitmapCharset *charset);

Description:

Create and release (dealloc) an EDBitmapCharset.


Static Inline Functions

Synopsis:

BOOL EDBitmapCharsetContainsCharacter(EDBitmapCharset *charset, unichar character)

Description:

Returns YES if the character is in the charset. To be more precise, YES means any value greater than 0. In fact, this method returns the exact bit that was tested against. This is the only operation currently supported on EDBitmapCharsets.


Version 2.0 Copyright ©2002. All Rights Reserved.