Samond Classes Library 1.2.6-STABLE build 219
SCTypes.h
Go to the documentation of this file.
1 /*
2  * SCTypes.h
3  * scl
4  *
5  * Created by Viacheslav Smolensky on 22.02.09.
6  * Copyright (c) 2007 - 2018 by Samond Development Corporation. All rights reserved.
7  *
8  */
9 
24 #import <Foundation/Foundation.h>
25 
26 #pragma mark -
27 #pragma mark Standard Data Types
28 
37 typedef Class SCClass;
38 
43 typedef char * SCCharString;
44 
49 typedef SEL SCSelector;
50 
55 typedef id SCID;
56 
61 typedef bool SCBool;
62 
67 typedef unsigned char SCUChar;
68 
73 typedef uint32_t SCUInteger;
74 
79 typedef unsigned long SCUnsignedLong;
80 
85 typedef NSNull SCNull;
86 
91 #ifdef GNUSTEP
92 typedef unsigned long long SCULong;
93 #else
94 typedef uint64_t SCULong;
95 #endif
96 
101 typedef uint16_t SCUShort;
102 
107 typedef NSURL SCURL;
108 
113 typedef NSValue SCValue;
114 
119 typedef int8_t SCByte;
120 
125 typedef char SCChar;
126 
131 typedef double SCDouble;
132 
137 typedef NSDate SCDate;
138 
143 typedef float SCFloat;
144 
149 typedef int32_t SCInteger;
150 
155 typedef long SCSignedLong;
156 
161 typedef NSDecimalNumber SCDecimal;
162 
167 typedef NSNumber SCNumber;
168 
173 #ifdef GNUSTEP
174 typedef long long SCLong;
175 #else
176 typedef int64_t SCLong;
177 #endif
178 
183 typedef const char * SCConstString;
184 
189 typedef int16_t SCShort;
190 
195 typedef NSString SCString;
196 
201 typedef void SCVoid;
202 
207 typedef uint8_t SCUByte;
208 
209 #pragma mark -
210 #pragma mark Specialized Data Types
211 
220 typedef size_t SCSize;
221 
222 #pragma mark -
223 #pragma mark Unified Data Types System Support
224 
235 typedef enum {
236 
241  SCTypeClass = 0x23,
242 
248 
254 
260 
265  SCTypeObject = 0x40,
266 
271  SCTypeArray = 0x41,
272 
277  SCTypeBool = 0x42,
278 
283  SCTypeUChar = 0x43,
284 
290 
296 
301  SCTypeGUID = 0x47,
302 
308 
314 
319  SCTypeNull = 0x4E,
320 
325  SCTypeCursor = 0x4F,
326 
332 
337  SCTypeULong = 0x51,
338 
343  SCTypeRowID = 0x52,
344 
349  SCTypeUShort = 0x53,
350 
355  SCTypeSet = 0x54,
356 
361  SCTypeURL = 0x55,
362 
367  SCTypeValue = 0x56,
368 
373  SCTypeXML = 0x58,
374 
379  SCTypeByte = 0x59,
380 
385  SCTypeData = 0x5A,
386 
392 
397  SCTypeBitmap = 0x62,
398 
403  SCTypeChar = 0x63,
404 
409  SCTypeDouble = 0x64,
410 
415  SCTypeDate = 0x65,
416 
421  SCTypeFloat = 0x66,
422 
427  SCTypeConfig = 0x67,
428 
434 
440 
446 
451  SCTypeNumber = 0x6E,
452 
458 
463  SCTypeLong = 0x71,
464 
470 
475  SCTypeShort = 0x73,
476 
481  SCTypeString = 0x74,
482 
487  SCTypeVoid = 0x76,
488 
493  SCTypeUByte = 0x79,
494 
495 } SCDataType;
496 
501 typedef enum {
502 
508 
514 
520 
526 
532 
538 
544 
550 
556 
558 
559 #pragma mark -
560 #pragma mark Other Data Types
561 
570 typedef enum {
576 
582 
588 
594 
595 } SCCapacity;
596 
601 typedef enum {
607 
613 
619 
625 } SCIntegerBase;
626 
Definition: SCTypes.h:295
Definition: SCTypes.h:433
Definition: SCTypes.h:409
NSDecimalNumber SCDecimal
Definition: SCTypes.h:161
uint64_t SCULong
Definition: SCTypes.h:94
int16_t SCShort
Definition: SCTypes.h:189
Definition: SCTypes.h:427
Definition: SCTypes.h:289
Definition: SCTypes.h:325
Definition: SCTypes.h:355
NSNumber SCNumber
Definition: SCTypes.h:167
int64_t SCLong
Definition: SCTypes.h:176
SCArgumentType
Definition: SCTypes.h:501
Definition: SCTypes.h:379
Definition: SCTypes.h:537
Definition: SCTypes.h:457
NSDate SCDate
Definition: SCTypes.h:137
Definition: SCTypes.h:519
int32_t SCInteger
Definition: SCTypes.h:149
SCIntegerBase
Definition: SCTypes.h:601
NSNull SCNull
Definition: SCTypes.h:85
Definition: SCTypes.h:391
Definition: SCTypes.h:313
Definition: SCTypes.h:319
Definition: SCTypes.h:587
uint32_t SCUInteger
Definition: SCTypes.h:73
Definition: SCTypes.h:555
Definition: SCTypes.h:469
NSValue SCValue
Definition: SCTypes.h:113
Definition: SCTypes.h:307
Definition: SCTypes.h:451
int8_t SCByte
Definition: SCTypes.h:119
Definition: SCTypes.h:331
Definition: SCTypes.h:575
Definition: SCTypes.h:549
Definition: SCTypes.h:481
NSString SCString
Definition: SCTypes.h:195
Definition: SCTypes.h:445
SCCapacity
Definition: SCTypes.h:570
char * SCCharString
Definition: SCTypes.h:43
uint16_t SCUShort
Definition: SCTypes.h:101
Definition: SCTypes.h:618
Definition: SCTypes.h:301
SCDataType
Definition: SCTypes.h:235
uint8_t SCUByte
Definition: SCTypes.h:207
Definition: SCTypes.h:531
Definition: SCTypes.h:337
Definition: SCTypes.h:463
Definition: SCTypes.h:493
unsigned long SCUnsignedLong
Definition: SCTypes.h:79
Definition: SCTypes.h:373
Definition: SCTypes.h:253
Definition: SCTypes.h:507
Definition: SCTypes.h:624
Definition: SCTypes.h:283
Definition: SCTypes.h:475
Definition: SCTypes.h:421
void SCVoid
Definition: SCTypes.h:201
Definition: SCTypes.h:593
Definition: SCTypes.h:361
Definition: SCTypes.h:397
Definition: SCTypes.h:277
Definition: SCTypes.h:525
id SCID
Definition: SCTypes.h:55
Definition: SCTypes.h:367
Definition: SCTypes.h:241
double SCDouble
Definition: SCTypes.h:131
const char * SCConstString
Definition: SCTypes.h:183
Definition: SCTypes.h:343
Definition: SCTypes.h:543
Definition: SCTypes.h:271
Definition: SCTypes.h:439
Definition: SCTypes.h:606
Definition: SCTypes.h:247
Definition: SCTypes.h:385
SEL SCSelector
Definition: SCTypes.h:49
unsigned char SCUChar
Definition: SCTypes.h:67
float SCFloat
Definition: SCTypes.h:143
Definition: SCTypes.h:581
Definition: SCTypes.h:403
Definition: SCTypes.h:513
char SCChar
Definition: SCTypes.h:125
Definition: SCTypes.h:415
Definition: SCTypes.h:349
NSURL SCURL
Definition: SCTypes.h:107
Definition: SCTypes.h:265
Class SCClass
Definition: SCTypes.h:37
bool SCBool
Definition: SCTypes.h:61
Definition: SCTypes.h:487
Definition: SCTypes.h:612
Definition: SCTypes.h:259
long SCSignedLong
Definition: SCTypes.h:155
size_t SCSize
Definition: SCTypes.h:220