~ubuntu-branches/ubuntu/precise/gnustep-base/precise

« back to all changes in this revision

Viewing changes to Headers/Foundation/NSCharacterSet.h

  • Committer: Bazaar Package Importer
  • Author(s): Hubert Chathi
  • Date: 2007-10-03 17:16:39 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20071003171639-rtyga33jz04drwe3
Tags: 1.14.0-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#ifndef __NSCharacterSet_h_GNUSTEP_BASE_INCLUDE
26
26
#define __NSCharacterSet_h_GNUSTEP_BASE_INCLUDE
27
 
 
28
 
#include <Foundation/NSString.h>
 
27
#import <GNUstepBase/GSVersionMacros.h>
 
28
 
 
29
#import <Foundation/NSRange.h>
 
30
#import <Foundation/NSString.h>
 
31
 
 
32
#if     defined(__cplusplus)
 
33
extern "C" {
 
34
#endif
29
35
 
30
36
@class NSData;
31
37
 
42
48
 */
43
49
+ (NSCharacterSet*) alphanumericCharacterSet;
44
50
 
45
 
#ifndef STRICT_OPENSTEP
 
51
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
46
52
/**
47
53
 *  Returns a character set containing letters in the unicode
48
54
 *  Titlecase category.
97
103
 */
98
104
+ (NSCharacterSet*) punctuationCharacterSet;
99
105
 
100
 
#ifndef STRICT_OPENSTEP
 
106
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
101
107
/**
102
108
 *  Returns a character set containing mathematical symbols, etc..
103
109
 */
140
146
 */
141
147
+ (NSCharacterSet*) characterSetWithRange: (NSRange)aRange;
142
148
 
143
 
#ifndef STRICT_MACOS_X
 
149
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
144
150
/**
145
151
 *  Initializes from a bitmap (8192 bytes representing 65536 values).<br />
146
152
 *  Each bit set in the bitmap represents the fact that a character at
164
170
 */
165
171
- (BOOL) characterIsMember: (unichar)aCharacter;
166
172
 
167
 
#ifndef STRICT_OPENSTEP
 
173
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
168
174
/**
169
175
 * Returns YES if the receiver contains at least one character in the
170
176
 * specified unicode plane.
178
184
 */
179
185
- (NSCharacterSet*) invertedSet;
180
186
 
181
 
#ifndef STRICT_OPENSTEP
 
187
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
182
188
/**
183
189
 * Returns YES is all the characters in aSet are present in the receiver.
184
190
 */
235
241
 
236
242
@end
237
243
 
 
244
#if     defined(__cplusplus)
 
245
}
 
246
#endif
 
247
 
238
248
#endif /* __NSCharacterSet_h_GNUSTEP_BASE_INCLUDE*/